|
|
@@ -20,7 +20,6 @@ export class InputSwitchComponent implements ControlValueAccessor { |
|
|
|
propagateChange = (_: any) => { /* empty */ } |
|
|
|
|
|
|
|
writeValue (checked: boolean) { |
|
|
|
console.log(checked) |
|
|
|
this.checked = checked |
|
|
|
} |
|
|
|
|
|
|
@@ -33,7 +32,6 @@ export class InputSwitchComponent implements ControlValueAccessor { |
|
|
|
} |
|
|
|
|
|
|
|
update () { |
|
|
|
console.log(this.checked) |
|
|
|
this.checked = !this.checked |
|
|
|
this.propagateChange(this.checked) |
|
|
|
} |
|
|
|