Class: Slider

ol.ext.input. Slider

Checkbox input


new Slider(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)

parent Element <optional>

element to use as parent if no input option

hover booelan <optional>
true

show popup on hover

align string <optional>
left

align popup left/right

type string <optional>

a slide type as 'size'

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

before string | Element <optional>

an element to add before the slider

after string | Element <optional>

an element to add after the slider

fixed boolean <optional>
false

no pupop

Extends

Methods


getInputElement()

Get the input element

Inherited From:
Overrides:
Returns:
Type
Element

getValue()

Get the current getValue

Inherited From:
Overrides:
Returns:
Type
string

setValue()

Set the current value

Inherited From:
Overrides: