Model()
The model for the row UI element, this is what model:ko/ui/deck.create returns
Properties:
| Name | Type | Description |
|---|---|---|
name |
string | The node name of the element |
element |
Element | A XUL deck |
Extends
Methods
-
<static> index(value)
-
Gets and sets the index of the currently selected panel. The first item is at index 0.
Parameters:
Name Type Description valueinteger index to be selected. See deck.selectedPanel
-
<static> panel(value)
-
Gets and sets the index of the currently selected panel. The first item is at index 0.
Parameters:
Name Type Description valueelement A panel element to be set. See deck.selectedPanel