mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
@ -4,6 +4,10 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
:host {
|
:host {
|
||||||
|
/**
|
||||||
|
* @prop --color: Color of the menu button
|
||||||
|
*/
|
||||||
|
|
||||||
color: var(--color);
|
color: var(--color);
|
||||||
|
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
|
@ -16,6 +16,13 @@ Menu Button is component that automatically creates the icon and functionality t
|
|||||||
| `mode` | `mode` | The mode determines which platform styles to use. | `"ios" \| "md"` | `undefined` |
|
| `mode` | `mode` | The mode determines which platform styles to use. | `"ios" \| "md"` | `undefined` |
|
||||||
|
|
||||||
|
|
||||||
|
## CSS Custom Properties
|
||||||
|
|
||||||
|
| Name | Description |
|
||||||
|
| --------- | ------------------------ |
|
||||||
|
| `--color` | Color of the menu button |
|
||||||
|
|
||||||
|
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
|
|
||||||
*Built with [StencilJS](https://stenciljs.com/)*
|
*Built with [StencilJS](https://stenciljs.com/)*
|
||||||
|
@ -4,6 +4,11 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
:host {
|
:host {
|
||||||
|
/**
|
||||||
|
* @prop --background: Background of the menu
|
||||||
|
* @prop --width: Width of the menu
|
||||||
|
* @prop --width-small: Width of the small menu
|
||||||
|
*/
|
||||||
--width: #{$menu-width};
|
--width: #{$menu-width};
|
||||||
--width-small: #{$menu-small-width};
|
--width-small: #{$menu-small-width};
|
||||||
--background: #{$background-color};
|
--background: #{$background-color};
|
||||||
|
@ -129,6 +129,15 @@ Type: `Promise<boolean>`
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## CSS Custom Properties
|
||||||
|
|
||||||
|
| Name | Description |
|
||||||
|
| --------------- | ----------------------- |
|
||||||
|
| `--background` | Background of the menu |
|
||||||
|
| `--width` | Width of the menu |
|
||||||
|
| `--width-small` | Width of the small menu |
|
||||||
|
|
||||||
|
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
|
|
||||||
*Built with [StencilJS](https://stenciljs.com/)*
|
*Built with [StencilJS](https://stenciljs.com/)*
|
||||||
|
Reference in New Issue
Block a user