MCPcopy Create free account
hub / github.com/UI5/webcomponents / _incSpin

Method _incSpin

packages/main/src/StepInput.ts:779–788  ·  view source on GitHub ↗
(e: MouseEvent)

Source from the content-addressed store, hash-verified

777 }
778
779 _incSpin(e: MouseEvent) {
780 if (this._isFocused || this._incIconDisabled) {
781 e.preventDefault();
782 }
783 if (!this._incIconDisabled) {
784 this._spinValue(true, true);
785 } else {
786 this.input.focus();
787 }
788 }
789
790 /**
791 * Calculates the time which should be waited until _spinValue function is called.

Callers

nothing calls this directly

Calls 2

_spinValueMethod · 0.95
focusMethod · 0.45

Tested by

no test coverage detected