ion-menu-toggle
MenuToggleコンポーネントを使用すると、Menuの表示/非表示を切り替えることができます。
デフォルトでは、選択したMenuがアクティブな場合にのみ表示されます。Menuは、開いたり閉じたりできるときにアクティブになります。Menuが無効になっている場合、または分割ペインとして表示されている場合、メニューは非アクティブとしてマークされ、ion-menu-toggleが非表示になります。
ion-menu-toggle
を常に表示しておきたい場合は、autoHide
プロパティをfalse
に設定できます。
プロパティ
autoHide | |
---|---|
Description | Automatically hides the content when the corresponding menu is not active. By default, it's |
Attribute | auto-hide |
Type | boolean |
Default | true |
menu | |
Description | Optional property that maps to a Menu's If this property is not used,
|
Attribute | menu |
Type | string | undefined |