mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +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. |
string | undefined |
menu |
menu |
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 |
string | undefined |
mode |
mode |
The mode determines which platform styles to use. Possible values are: "ios" or "md" . |
"ios" | "md" |
Built with StencilJS