Segment works

This commit is contained in:
Max Lynch
2015-05-08 16:24:22 -05:00
parent e7534060ab
commit 682be86c7f
2 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,7 @@ export class Segment {
writeValue(value) {
console.log('SEGMENT WRITE VALUE', value);
this.value = value;
}
bindButton(segmentValue) {
@ -64,6 +65,8 @@ export class Segment {
segmentButton.setActive(true);
this.value = segmentButton.value;
this.controlDirective._control().updateValue(this.value);
console.log('New value', this.value);
}
}