mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +08:00
chore(update): stencil 0.1.1
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Component, Element, Event, EventEmitter, Listen, Prop, PropDidChange } from '@stencil/core';
|
||||
import { Component, Element, Event, EventEmitter, Listen, Prop, Watch } from '@stencil/core';
|
||||
|
||||
|
||||
@Component({
|
||||
@ -46,7 +46,7 @@ export class Segment {
|
||||
*/
|
||||
@Prop({ mutable: true }) value: string;
|
||||
|
||||
@PropDidChange('value')
|
||||
@Watch('value')
|
||||
protected valueChanged(val: string) {
|
||||
this.selectButton(val);
|
||||
}
|
||||
|
Reference in New Issue
Block a user