ボタンがクリックされたときに発行されます。
ボタンを有効/無効にします。
<button igxButton="fab" disabled></button>
role
属性を取得または設定します。
this.button.role = 'navbutton';
let buttonRole = this.button.role;
コンポーネントのテーマを返します。デフォルトのテーマは
comfortable
です。
利用可能なオプションは comfortable
、cosy
、または compact
です。
let componentTheme = this.component.displayDensity;
コンポーネントのテーマを設定します。
基礎となる DOM 要素を返します。
アイコン ボタンのタイプを設定します。
<button type="button" igxIconButton="flat"></button>
表示密度の値に基づいて --component-size
CSS 変数を設定します。
IgxIconButtonDirective は、アイコンを完全に機能するボタンとして使用する方法を提供します。
例