Class: SliderHeader

vef.ui.slider.SliderHeader()

Helper class for creating a header for the sliders with an operator Dropdown options = { title: string, operators: string[], defaultOperator: string, useInput: boolean, inputPattern: string, inputlength: number, inputType: string }

Constructor

new SliderHeader()

Author:
Source:

Methods

getOperator() → {string}

get the currently selected operator
Source:
Returns:
Type
string

select(operator)

select an operator
Parameters:
Name Type Description
operator string
Source:

setOperators(operators)

populate the operator dropdown
Parameters:
Name Type Description
operators Array.<string>
Source:

setPattern(regex)

Set regex for string validation in the input
Parameters:
Name Type Description
regex string
Source:

setValue(type, value)

Set a single value
Parameters:
Name Type Description
type string begin or end
value *
Source:

setValues(val)

set the values in the header
Parameters:
Name Type Description
val object {begin, end}
Source: