mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
ion-menu-button
Menu Button is component that automatically creates the icon and functionality to open a menu on a page.
Properties
| Property | Attribute | Description | Type |
|---|---|---|---|
autoHide |
auto-hide |
Automatically hides the menu button when the corresponding menu is not active | boolean |
color |
color |
The color to use from your application's color palette. Default options are: "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", and "dark". For more information on colors, see theming. |
Color |
menu |
menu |
Optional property that maps to a Menu's menuId prop. Can also be left or right for the menu side. This is used to find the correct menu to toggle |
string |
mode |
mode |
The mode determines which platform styles to use. Possible values are: "ios" or "md". |
Mode |
Built with StencilJS