Deck
An element that displays only one of its children at a time. The selectedIndex attribute determines which child is displayed.
Attributes:
selectedIndex |
Properties and Methods:
selectedIndex | selectedPanel |
Attributes:
selectedIndex
Type: integer
Gets and sets the index of the currently selected panel in the deck. The first item is at index 0.
Inherited from XUL Element:
Properties and Methods:
selectedIndex
Type: integer
Gets and sets the index of the currently selected panel in the deck. The first item is at index 0. A non-bubbling select event will be sent to the deck when the selected panel is changed.
selectedPanel
Type: element
Holds a reference to the currently selected panel in the deck. Assign a value to this property to modify the selected panel. A non-bubbling select event will be sent to the deck when the selected panel is changed.
Inherited from XUL Element:
Inherited from Element: