type

FlowBox

src @Js
class FlowBox : Box

FlowBox lays out its children in a one-directional flow.

See also: docDomkit

constructors

fields

gaps

Gaps to insert between child elements.

halign

How to align children inside container.

methods

Slot Details

gaps

src Str[] gaps := Str[,]

Gaps to insert between child elements. If gaps.length is less than the number of children, then gaps will be cycled to apply to all children.

halign

src Align halign := Align.left

How to align children inside container. Valid values are left, center, right.

make

src new make()

onAdd

src protected virtual override Void onAdd(Elem c)

onRemove

src protected virtual override Void onRemove(Elem c)