* Sets the slider input to disproportionate dimensions to allow for touch * events to be captured on touch devices.
()
| 532 | * events to be captured on touch devices. |
| 533 | */ |
| 534 | _updateWidthInactive(): void { |
| 535 | this._hostElement.style.padding = `0 ${this._slider._inputPadding}px`; |
| 536 | this._hostElement.style.width = `calc(100% + ${ |
| 537 | this._slider._inputPadding - this._tickMarkOffset * 2 |
| 538 | }px)`; |
| 539 | this._hostElement.style.left = `-${this._slider._rippleRadius - this._tickMarkOffset}px`; |
| 540 | } |
| 541 | |
| 542 | _updateThumbUIByValue(options?: {withAnimation: boolean}): void { |
| 543 | this.translateX = this._clamp(this._calcTranslateXByValue()); |
no outgoing calls
no test coverage detected