Class: Range

ol.ext.input. Range

Checkbox input


new Range(options)

Parameters:
Name Type Description
options *
Properties
Name Type Argument Default Description
className string <optional>
input Element <optional>

input element, if non create one (use parent to tell where)

input2 Element <optional>

input element

parent Element <optional>

element to use as parent if no input option

min number <optional>

min value, default use input min

max number <optional>

max value, default use input max

step number <optional>

step value, default use input step

overflow boolean <optional>
false

enable values over min/max

Fires:
  • change:value

Extends

Methods


getInputElement()

Get the input element

Inherited From:
Overrides:
Returns:
Type
Element

getMax()

Get the current max value

Returns:
Type
number

getMin()

Get the current min value

Returns:
Type
number

getValue()

Get the current getValue

Inherited From:
Overrides:
Returns:
Type
string

getValue2()

Get the current value (second input)


setValue()

Set the current value

Inherited From:
Overrides:

setValue2()

Set the current value (second input)