mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(all): reflect color property as an attribute for vue (#23345)
resolves #23323
This commit is contained in:
@ -36,7 +36,7 @@ export class Toggle implements ComponentInterface {
|
||||
* 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 name of the control, which is submitted with the form data.
|
||||
|
Reference in New Issue
Block a user