Class: Base

ol.ext.input. Base

Abstract base class; normally only used for creating subclasses and not instantiated in apps.


new Base(options)

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

input element, if none create one

type string <optional>

input type, if no input

min number <optional>

input min, if no input

max number <optional>

input max, if no input

step number <optional>

input step, if no input

val string | number <optional>

input value

checked boolean <optional>

check input

hidden boolean <optional>

the input is display:none

disabled boolean <optional>

disable input

parent Element <optional>

parent element, if no input

Extends

  • ol.Object

Methods


getInputElement()

Get the input element

Returns:
Type
Element

getValue()

Get the current getValue

Returns:
Type
string

setValue()

Set the current value