Class: Model

ko/ui/deck~ Model


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
value integer

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
value element

A panel element to be set. See deck.selectedPanel