fix(prop): update to mutable option

This commit is contained in:
Adam Bradley
2017-08-31 21:28:00 -05:00
parent 1f2651664a
commit 00c883194c
10 changed files with 28 additions and 28 deletions

View File

@ -58,17 +58,17 @@ export class SegmentButton {
/*
* @input {boolean} If true, the button is selected. Default false.
*/
@Prop({ state: true }) checked: boolean = false;
@Prop({ mutable: true }) checked: boolean = false;
/*
* @input {boolean} If true, the user cannot interact with this element. Default false.
*/
@Prop({ state: true }) disabled: boolean = false;
@Prop({ mutable: true }) disabled: boolean = false;
/**
* @input {string} the value of the segment button. Required.
*/
@Prop({ state: true }) value: string;
@Prop({ mutable: true }) value: string;
segmentButtonClick(ev: UIEvent) {
ev.preventDefault();