IgxIconButtonDirective は、アイコンを完全に機能するボタンとして使用する方法を提供します。
<button type="button" igxIconButton="outlined"> <igx-icon>home</igx-icon></button> Copy
<button type="button" igxIconButton="outlined"> <igx-icon>home</igx-icon></button>
ボタンがクリックされたときに発行されます。
ボタンを有効/無効にします。
<button igxButton="fab" disabled></button> Copy
<button igxButton="fab" disabled></button>
role 属性を取得または設定します。
role
this.button.role = 'navbutton';let buttonRole = this.button.role; Copy
this.button.role = 'navbutton';let buttonRole = this.button.role;
基礎となる DOM 要素を返します。
アイコン ボタンのタイプを設定します。
<button type="button" igxIconButton="flat"></button> Copy
<button type="button" igxIconButton="flat"></button>
IgxIconButtonDirective は、アイコンを完全に機能するボタンとして使用する方法を提供します。
例