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

Method _calcWaitTimeout

packages/main/src/StepInput.ts:793–797  ·  view source on GitHub ↗

* Calculates the time which should be waited until _spinValue function is called.

()

Source from the content-addressed store, hash-verified

791 * Calculates the time which should be waited until _spinValue function is called.
792 */
793 _calcWaitTimeout() {
794 this._speed *= ACCELERATION;
795 this._waitTimeout = ((this._waitTimeout - this._speed) < MIN_WAIT_TIMEOUT ? MIN_WAIT_TIMEOUT : (this._waitTimeout - this._speed));
796 return this._waitTimeout;
797 }
798
799 /**
800 * Called when the increment or decrement button is pressed and held to set new value.

Callers 1

_spinValueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected