mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
fix(menu-button): get proper styles when used inside ion-buttons
This commit is contained in:
16
core/src/components.d.ts
vendored
16
core/src/components.d.ts
vendored
@ -3766,10 +3766,18 @@ declare global {
|
||||
* Automatically hides the menu button when the corresponding menu is not active
|
||||
*/
|
||||
'autoHide': boolean;
|
||||
/**
|
||||
* The color to use for the background of the item.
|
||||
*/
|
||||
'color': Color;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
'menu': string;
|
||||
/**
|
||||
* The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`.
|
||||
*/
|
||||
'mode': Mode;
|
||||
}
|
||||
}
|
||||
|
||||
@ -3796,10 +3804,18 @@ declare global {
|
||||
* Automatically hides the menu button when the corresponding menu is not active
|
||||
*/
|
||||
'autoHide'?: boolean;
|
||||
/**
|
||||
* The color to use for the background of the item.
|
||||
*/
|
||||
'color'?: Color;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
'menu'?: string;
|
||||
/**
|
||||
* The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`.
|
||||
*/
|
||||
'mode'?: Mode;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user