valueUp()
Increments the range value of a specified `Range` object by the range step or given increment
Range.prototype.valueUp()
Range.prototype.valueUp()public valueUp(stepIncrement = 1): this {
typeof this.value === 'number' && stepIncrement > 0 &&
this.setValue(this.value + stepIncrement * this.#step);
return this;
}Parameters
Return type
Returns
Example usage
Last updated