ドロップダウンが閉じたかどうかを取得します。
ドロップダウンの高さを取得または設定します。
// 取得
let myDropDownCurrentHeight = this.dropdown.height;
<!--set-->
<igx-drop-down [height]='400px'></igx-drop-down>
ドロップ ダウンのコンテナの最大の高さを取得または設定します。
// 取得
let maxHeight = this.dropdown.maxHeight;
<!--set-->
<igx-drop-down [maxHeight]='200px'></igx-drop-down>
選択を完了する前にアイテム選択が変更されるときに発生されます。
<igx-drop-down (onSelection)='handleSelection()'></igx-drop-down>
ドロップダウンの幅を取得または設定します。
// 取得
let myDropDownCurrentWidth = this.dropdown.width;
<!--set-->
<igx-drop-down [width]='160px'></igx-drop-down>
コンポーネントのテーマを返します。
デフォルト テーマは comfortable
です。
利用可能なオプションは comfortable
、cosy
、および compact
です。
let componentTheme = this.component.displayDensity;
コンポーネントのテーマを設定します。
ドロップダウンの HTML 要素を取得します。
let myDropDownElement = this.dropdown.element;
すべてのヘッダー項目を取得します。
let myDropDownHeaderItems = this.dropdown.headers;
ドロップダウンの id を取得または設定します。
// 取得
let myDropDownCurrentId = this.dropdown.id;
<!--set-->
<igx-drop-down [id]='newDropDownId'></igx-drop-down>
ドロップダウンの id を取得または設定します。
// 取得
let myDropDownCurrentId = this.dropdown.id;
<!--set-->
<igx-drop-down [id]='newDropDownId'></igx-drop-down>
すべてのヘッダー以外の項目を取得します。
let myDropDownItems = this.dropdown.items;
指定されたインデックスにある項目へ移動。
Number - items
コレクションに含まれる項目のインデックス。
Keydown ハンドラー
次でドロップダウン コンポーネントを定義する抽象クラス。 クラスと表示スタイルのためのプロパティ。
IgxDropDownBaseDirective
タイプの項目のコレクション。 コレクションの項目をナビゲート (強調表示/フォーカス) する ためのプロパティとメソッド。 コレクションの項目を選択するためのプロパティとメソッド。