クラス IgxButtonDirective

Button ディレクティブは、ボタンとして使用を意図されているすべてのコンポーネントに Ignite UI ボタン機能を提供します。

Igx Module

IgxButtonModule

Igx Parent

データ入力と表示

Igx Theme

igx-button-theme

Igx Keywords

button, span, div, click

Remarks

Ignite UI Button ディレクティブは、いずれかのボタン、スパン、または div で使用され、これらを完全に機能するボタンに変更することが意図されています。

Example

<button igxButton="outlined">A Button</button>

階層

Hierarchy

  • DisplayDensityBase
    • IgxButtonDirective

コンストラクタ

プロパティ

buttonClick: EventEmitter<any> = ...

ボタンがクリックされたときに呼び出されます。

buttonSelected: EventEmitter<IButtonEventArgs> = ...

ボタンが選択されたときに呼び出されます。

densityChanged: EventEmitter<IDensityChangedEventArgs> = ...
element: ElementRef<any>
role: string = 'button'

role 属性を設定または取得します。

Example

this.button.role = 'navbutton';
let buttonRole = this.button.role;

アクセサー