(e: WheelEvent)
| 507 | } |
| 508 | |
| 509 | _onMouseWheel(e: WheelEvent) { |
| 510 | if (this.disabled || this.readonly || !this._isFocused) { |
| 511 | return; |
| 512 | } |
| 513 | |
| 514 | e.preventDefault(); |
| 515 | |
| 516 | const isScrollUp = e.deltaY < 0; |
| 517 | const modifier = isScrollUp ? this.step : -this.step; |
| 518 | this._modifyValue(modifier, true); |
| 519 | } |
| 520 | |
| 521 | _setButtonState() { |
| 522 | this._decIconDisabled = this.min !== undefined && this.value <= this.min; |
nothing calls this directly
no test coverage detected