ion-menu-toggle
Contents
The MenuToggle component can be used to toggle a menu open or closed.
By default, it's only visible when the selected menu is active. A menu is active when it can be opened/closed. If the menu is disabled or it's being presented as a split-pane, the menu is marked as non-active and ion-menu-toggle hides itself.
In case it's desired to keep ion-menu-toggle always visible, the autoHide property can be set to false.
See the Menu documentation for an example.
Properties
autoHide
| Description | Automatically hides the content when the corresponding menu is not active. By default, it's true. Change it tofalsein order to keepion-menu-togglealways visible regardless the state of the menu. | 
| Attribute | auto-hide | 
| Type | boolean | 
| Default | true | 
menu
| Description | Optional property that maps to a Menu's menuIdprop. Can also bestartorendfor the menu side. This is used to find the correct menu to toggle.If this property is not used, ion-menu-togglewill toggle the first menu that is active. | 
| Attribute | menu | 
| Type | string ๏ฝ undefined | 
| Default | undefined | 
Events
No events available for this component.
Methods
No public methods available for this component.
CSS Shadow Parts
No CSS shadow parts available for this component.
CSS Custom Properties
No CSS custom properties available for this component.
Slots
| Name | Description | 
|---|---|
| `` | Content is placed inside the toggle to act as the click target. |