- Index
- »
- fan.domkit
- »
- CardBox
CardBox
@Js
class CardBox : Box
CardBox lays out child elements as a stack of cards, where only one card may be visible at a time.
See also: docDomkit
Duratin for effect animation to last
Transition effect to apply when selIndex is changed
Selected card index, or null if no children
Selected card instance, or null if no children
Str? : effect
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
Duration : effectDur
Duratin for effect animation to last.
new make()
virtual Void onAdd(Elem c)
virtual Void onRemove(Elem c)
virtual Int? : selIndex
Selected card index, or null if no children.
Elem? selItem()
Selected card instance, or null if no children.