Methods
# static calculateReverseScale(val) → {number}
Returns the key from the DURATION_SCALE mapping.
Parameters:
Name | Type | Description |
---|---|---|
val |
number | Value in DURATION_SCALE corresponding to the key |
key in DURATION_SCALE
number
# static DURATION_MARKS() → {array}
Returns the labels for a slider, with unlabelled marks, if the index of a mark is odd.
An array containing the labels for the slider
array