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

Method _decSpin

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

Source from the content-addressed store, hash-verified

766 }
767
768 _decSpin(e: MouseEvent) {
769 if (this._isFocused || this._decIconDisabled) {
770 e.preventDefault();
771 }
772 if (!this._decIconDisabled) {
773 this._spinValue(false, true);
774 } else {
775 this.input.focus();
776 }
777 }
778
779 _incSpin(e: MouseEvent) {
780 if (this._isFocused || this._incIconDisabled) {

Callers

nothing calls this directly

Calls 2

_spinValueMethod · 0.95
focusMethod · 0.45

Tested by

no test coverage detected