Class: Checkbox

ol.ext.input. Checkbox

Checkbox input


new Checkbox(options)

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

label content

after string <optional>

label garnish (placed after)

input Element <optional>

input element, if non create one

parent Element <optional>

parent element, if create an input

autoClose boolean <optional>
true
visible boolean <optional>
false

display the 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: