type
CardBox
CardBox lays out child elements as a stack of cards, where only one card may be visible at a time.
See also: docDomkit
constructors
fields
| effect |
Transition effect to apply when |
|---|---|
| effectDur |
Duratin for |
| selIndex |
Selected card index, or null if no children. |
methods
Slot Details
effect
Str? effect := null
Transition effect to apply when selIndex is changed. If null, no effect is applied.
Valid values are:
slideLeft: animate cards sliding in from right-to-leftslideRight: animate cards sliding in from left-to-right
effectDur
make
new make()
onAdd
onRemove
selIndex
virtual Int? selIndex
Selected card index, or null if no children.
selItem
Elem? selItem()
Selected card instance, or null if no children.