SelectFormInput
geovisto-map / SelectFormInput
Class: SelectFormInput
This class represents a basic select form input composed of options.
Author
Jiri Hynek
Extends
Constructors
new SelectFormInput()
new SelectFormInput(
props
):SelectFormInput
Parameters
• props: ISelectFormInputProps
Returns
Overrides
AbstractMapFormInput
.constructor
Source
model/internal/inputs/basic/select/SelectFormInput.ts:18
Properties
element?
private
optional
element:HTMLSelectElement
the input element is initialized when required
Source
model/internal/inputs/basic/select/SelectFormInput.ts:16
Methods
create()
create():
HTMLElement
It returns select element.
Returns
HTMLElement
Overrides
Source
model/internal/inputs/basic/select/SelectFormInput.ts:32
getProps()
protected
getProps():IMapFormInputProps
It provides the props to the exteded classes.
Returns
Inherited from
Source
model/internal/inputs/abstract/AbstractMapFormInput.ts:23
getValue()
getValue():
string
It returns value of the select element.
Returns
string
Overrides
Source
model/internal/inputs/basic/select/SelectFormInput.ts:53
setDisabled()
setDisabled(
disabled
):void
It sets the input disabled.
Parameters
• disabled: boolean
Returns
void
Overrides
AbstractMapFormInput
.setDisabled
Source
model/internal/inputs/basic/select/SelectFormInput.ts:71
setValue()
setValue(
value
):void
It sets value of the select element.
Parameters
• value: string
Returns
void
Overrides
Source
model/internal/inputs/basic/select/SelectFormInput.ts:62
ID()
static
ID():string
Static function returns identifier of the input type
Returns
string