クラス IgxSelectGroupComponent

<igx-select><igx-select-item> コンテナの行項目のためのコンテナーです。

階層

Index

コンストラクタ

プロパティ

アクセサー

コンストラクタ

constructor

プロパティ

disabled

disabled: boolean = false

項目グループが無効かどうかを取得または設定します。

const myDropDownGroup: IgxDropDownGroupComponent = this.dropdownGroup;
// 取得
...
const groupState: boolean = myDropDownGroup.disabled;
...
// 設定
...
myDropDownGroup,disabled = false;
...
<igx-drop-down-item-group [label]="'My Items'" [disabled]="true">
    <igx-drop-down-item *ngFor="let item of items[index]" [value]="item.value">
        {{ item.text }}
    </igx-drop-down-item>
</igx-drop-down-item-group>

注: 無効なドロップダウン グループ内のすべての項目が無効として扱われます。

label

label: string

項目グループのラベルを取得または設定します。

const myDropDownGroup: IgxDropDownGroupComponent = this.dropdownGroup;
// 取得
...
const myLabel: string = myDropDownGroup.label;
...
// 設定
...
myDropDownGroup.label = 'My New Label';
...
<igx-drop-down-item-group [label]="'My new Label'">
     ...
</igx-drop-down-item-group>

アクセサー

labelledBy

  • get labelledBy(): string