クラス IgxDropDownBaseDirective

次でドロップダウン コンポーネントを定義する抽象クラス。 クラスと表示スタイルのためのプロパティ。 IgxDropDownBaseDirective タイプの項目のコレクション。 コレクションの項目をナビゲート (強調表示/フォーカス) する ためのプロパティとメソッド。 コレクションの項目を選択するためのプロパティとメソッド。

階層

実装

  • IDropDownList

Index

コンストラクタ

constructor

プロパティ

Readonly Abstract collapsed

collapsed: boolean

ドロップダウンが閉じたかどうかを取得します。

height

height: string

ドロップダウンの高さを取得または設定します。

// 取得
let myDropDownCurrentHeight = this.dropdown.height;
<!--set-->
<igx-drop-down [height]='400px'></igx-drop-down>

maxHeight

maxHeight: any = null

ドロップ ダウンのコンテナの最大の高さを取得または設定します。

// 取得
let maxHeight = this.dropdown.maxHeight;
<!--set-->
<igx-drop-down [maxHeight]='200px'></igx-drop-down>

onDensityChanged

onDensityChanged: EventEmitter<IDensityChangedEventArgs> = ...

onSelection

onSelection: EventEmitter<ISelectionEventArgs> = ...

選択を完了する前にアイテム選択が変更されるときに発生されます。

<igx-drop-down (onSelection)='handleSelection()'></igx-drop-down>

width

width: string

ドロップダウンの幅を取得または設定します。

// 取得
let myDropDownCurrentWidth = this.dropdown.width;
<!--set-->
<igx-drop-down [width]='160px'></igx-drop-down>

アクセサー

displayDensity

element

  • get element(): any

headers

id

  • get id(): string
  • set id(value: string): void

items

メソッド

navigateItem

  • navigateItem(newIndex: number): void

ngDoCheck

  • ngDoCheck(): void

onItemActionKey

  • onItemActionKey(key: DropDownActionKey, event?: Event): void