()
| 323 | } |
| 324 | |
| 325 | _initValue(): void { |
| 326 | this._hasSetInitialValue = true; |
| 327 | if (this._initialValue === undefined) { |
| 328 | this.value = this._getDefaultValue(); |
| 329 | } else { |
| 330 | this._hostElement.value = this._initialValue; |
| 331 | this._updateThumbUIByValue(); |
| 332 | this._slider._onValueChange(this); |
| 333 | this._cdr.detectChanges(); |
| 334 | } |
| 335 | } |
| 336 | |
| 337 | _getDefaultValue(): number { |
| 338 | return this.min; |
no test coverage detected