* Handles programmatic value setting. This has been split out to * allow the range thumb to override it and add additional necessary logic.
(value: string)
| 116 | * allow the range thumb to override it and add additional necessary logic. |
| 117 | */ |
| 118 | protected _setValue(value: string) { |
| 119 | this._hostElement.value = value; |
| 120 | this._updateThumbUIByValue(); |
| 121 | this._slider._onValueChange(this); |
| 122 | this._cdr.detectChanges(); |
| 123 | this._slider._cdr.markForCheck(); |
| 124 | } |
| 125 | |
| 126 | /** Event emitted when the `value` is changed. */ |
| 127 | @Output() readonly valueChange: EventEmitter<number> = new EventEmitter<number>(); |
no test coverage detected