Updates the dots along the slider track.
()
| 872 | |
| 873 | /** Updates the dots along the slider track. */ |
| 874 | _updateTickMarkUI(): void { |
| 875 | if ( |
| 876 | !this.showTickMarks || |
| 877 | this.step === undefined || |
| 878 | this.min === undefined || |
| 879 | this.max === undefined |
| 880 | ) { |
| 881 | return; |
| 882 | } |
| 883 | const step = this.step > 0 ? this.step : 1; |
| 884 | this._isRange ? this._updateTickMarkUIRange(step) : this._updateTickMarkUINonRange(step); |
| 885 | } |
| 886 | |
| 887 | private _updateTickMarkUINonRange(step: number): void { |
| 888 | const value = this._getValue(); |
no test coverage detected