setValueToStep()
Sets the value of the specified `Range` object to the value of the given `step`
Range.prototype.setValueToStep()
Range.prototype.setValueToStep()public setValueToStep(step: number): this {
step > 0 && (this.value = this.getValueOfStep(step));
return this;
}Parameters
Return type
Returns
Example usage
Last updated