Range

Range

{Object} Range Range object

Constructor

new Range()

Description:
  • Create a Range object
Source:
Properties:
Name Type Description
min number Minimum range
max number Maximum range
value number Current value

Methods

max(value)

Description:
  • Set max
Source:
Parameters:
Name Type Description
value number Max of object

max() → {number}

Description:
  • Get max
Source:
Returns:
Max of object
Type
number

min(value)

Description:
  • Set min
Source:
Parameters:
Name Type Description
value number Min of object

min() → {number}

Description:
  • Get min
Source:
Returns:
Min of object
Type
number

value(value)

Description:
  • Set value
Source:
Parameters:
Name Type Description
value number Value of object

value() → {number}

Description:
  • Get value
Source:
Returns:
Value of object
Type
number