ion-menu-toggle
Menu Toggleコンポーネントは、メニューの開閉を切り替えるために使用することができます。
メニュートグルは、選択されたメニューが有効な場合にのみ表示されます。メニューが無効になっている場合や、分割ペインとして表示されている場合は、メニュートグルは非表示になります。常にメニュートグルを表示するには、autoHide
プロパティをfalse
に設定します。
詳しくは、menuのドキュメントを参照してください。
プロパティ
autoHide
Description | Automatically hides the content when the corresponding menu is not active. By default, it's true . Change it to false in order to keep ion-menu-toggle always visible regardless the state of the menu. |
Attribute | auto-hide |
Type | boolean |
Default | true |
menu
Description | Optional property that maps to a Menu's menuId prop. Can also be start or end for the menu side. This is used to find the correct menu to toggle.If this property is not used, ion-menu-toggle will toggle the first menu that is active. |
Attribute | menu |
Type | string | undefined |
Default | undefined |
イベント
No events available for this component.