setValue()
Sets the range value between the minimum and maximum of a specified `Range` object
Range.prototype.setValue()
Range.prototype.setValue()The method setValue() sets the range value between the minimum and maximum of a specified Range object.
If the given value is not within range, it's not set.
public setValue(value: number): this {
this.value = value;
return this;
}Parameters
The value of number type to set.
Return type
Returns
The return value is the Range instance.
Example usage
Last updated