Deck
An element that displays only one of its children at a time. The selectedIndex attribute determines which child is displayed.
一度にただ一つの子要素のみを表示するコンテナ要素。どの子要素が表示されるかは selectedIndex 属性により定められる。
属性:
selectedIndex |
プロパティとメソッド:
selectedIndex | selectedPanel |
属性:
selectedIndex
Type: integer
Gets and sets the index of the currently selected panel in the deck. The first item is at index 0.
型 : integer
デックで現在選択されているパネルのインデクスを設定/取得する。1 番目の項目のインデクスは 0 である。
XUL Element から継承:
プロパティとメソッド:
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.
型 : integer
デックで現在選択されているパネルのインデクスを設定/取得する。1 番目の項目のインデクスは 0 である。選択パネルが変更されると、非バブル (non-bubbling) 選択イベントがデックに送信される。
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.
型 : element
デックで現在選択されているパネルへの参照を持つ。選択パネルを変更するには、このプロパティに値を割り当てる。選択パネルが変更されると、非バブル (non-bubbling) 選択イベントがデックに送信される。
XUL Element から継承:
Element から継承: