@docs-private
()
| 303 | |
| 304 | /** @docs-private */ |
| 305 | initProps(): void { |
| 306 | this._updateWidthInactive(); |
| 307 | |
| 308 | // If this or the parent slider is disabled, just make everything disabled. |
| 309 | if (this.disabled !== this._slider.disabled) { |
| 310 | // The MatSlider setter for disabled will relay this and disable both inputs. |
| 311 | this._slider.disabled = true; |
| 312 | } |
| 313 | |
| 314 | this.step = this._slider.step; |
| 315 | this.min = this._slider.min; |
| 316 | this.max = this._slider.max; |
| 317 | this._initValue(); |
| 318 | } |
| 319 | |
| 320 | /** @docs-private */ |
| 321 | initUI(): void { |
no test coverage detected