ion-buttons
Buttonsコンポーネントは、コンテナ要素です。 ツールバー の内部で使用し、標準のボタン、メニューボタン、戻るボタンを含むいくつかのタイプのボタンを含めることができる。
基本的な使い方
Buttons Placement
ツールバー内のボタンは、スロットという名前を使って配置することができます。下図は各スロットの説明です。
| Slot | Description | 
|---|---|
| start | Positions to the leftof the content in LTR, and to therightin RTL. | 
| end | Positions to the rightof the content in LTR, and to theleftin RTL. | 
| secondary | Positions element to the leftof the content iniosmode, and directly to therightinmdmode. | 
| primary | Positions element to the rightof the content iniosmode, and to the farrightinmdmode. | 
Buttonsのタイプ
ツールバーのボタンは、デフォルトでは透明ですが、ボタンの fill プロパティで変更することが可能です。この例で バックボタン と メニューボタン に含まれるプロパティは表示目的であり、正しい使用方法はそれぞれのドキュメントをご覧ください。
Collapsible Buttons
ボタンに collapse プロパティを設定すると、ヘッダーが折りたたまれたときにボタンが折りたたまれます。これは通常、collapsible large titles と共に使用します。
info
この機能はiOS modeでのみ有効です。
プロパティ
collapse
| Description | trueを指定すると、ツールバーが最初のツールバーでない場合、親ツールバーが完全に折り畳まれたときにボタンが消えます。ツールバーが最初のツールバーである場合、ボタンは隠され、すべてのツールバーが完全に折りたたまれたときにのみ表示されます。  ion-header で collapseをtrueに設定したios` modeにのみ適用されます。  通常、Collapsible Large Titlesに使用されます。 | 
| Attribute | collapse | 
| Type | boolean | 
| Default | false | 
イベント
No events available for this component.
メソッド
No public methods available for this component.
CSS Shadow Parts
No CSS shadow parts available for this component.
CSSカスタムプロパティ
No CSS custom properties available for this component.
Slots
No slots available for this component.