mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 10:41:13 +08:00
fix(all): reflect color property as an attribute for vue (#23345)
resolves #23323
This commit is contained in:
@ -37,7 +37,7 @@ export class Button implements ComponentInterface, AnchorInterface, ButtonInterf
|
||||
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
||||
* For more information on colors, see [theming](/docs/theming/basics).
|
||||
*/
|
||||
@Prop() color?: Color;
|
||||
@Prop({ reflect: true }) color?: Color;
|
||||
|
||||
/**
|
||||
* The type of button.
|
||||
|
Reference in New Issue
Block a user