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:
@ -35,7 +35,7 @@ export class Segment 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;
|
||||
@Watch('color')
|
||||
protected colorChanged(value?: Color, oldValue?: Color) {
|
||||
|
||||
|
Reference in New Issue
Block a user