Module

filterService

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

View Source services/filterService.js, line 16

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.

View Source services/filterService.js, line 28

An array containing the labels for the slider

array