Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(Range): general update and update jsdoc.
Add: - `get` accessor `steps` to retrieve the number of steps. - private `#value` property that indicates the range current value of the number type. - `get` accessor `value` to retrieve the range value. - `set` accessor `value` to set the `#range` property including range of specified object. - `value` parameter of number type to the static `create()` method and `constructor()`. - `getCurrentRange()` `getCurrentStep()` `getValueOfStep()` `setValue()` `setValueToStep()` `valueDown()` `valueUp()` methods. Change: - `get` accessor `range` to use `getRange()` method of instance and its return type to readonly. - `forEachStep()` method parameter names and set `range` parameter type to readonly. - deprecate `getMin()` `getMax()` `valueOf()` `toArray()` methods. - the `isBetween()` `isBetweenEvery()` `isBetweenSome()` methods to include minimum and maximum. - the `getRange()` method to obtains the range to the specified value.
- Loading branch information