Class: Switch

ol.ext.input. Switch

Switch input


new Switch(options)

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

input element, if non create one

parent Element <optional>

parent element, if create an input

Fires:
  • event:check

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: