githubEdit

setValue()

Sets the range value between the minimum and maximum of a specified `Range` object

Range.prototype.setValue()

The method setValue() sets the range value between the minimum and maximum of a specified Range object.

circle-exclamation
range.class.ts
public setValue(value: number): this {
  this.value = value;
  return this;
}

Parameters

The value of numberarrow-up-right type to set.

Return type

Returns

The return value is the Range instance.

Example usage

Last updated