AbstractMapFormInput
geovisto-map / AbstractMapFormInput
Class: abstract
AbstractMapFormInput
This class represents an abstract form input.
Author
Jiri Hynek
Extended by
SelectFormInput
TextFormInput
FilterAutocompleteFormInput
FilterSelectFormInput
LabeledAutocompleteFormInput
LabeledCheckboxFormInput
LabeledColorFormInput
LabeledSliderFormInput
Implements
Constructors
new AbstractMapFormInput()
new AbstractMapFormInput(
props
):AbstractMapFormInput
Parameters
• props: IMapFormInputProps
Returns
Source
model/internal/inputs/abstract/AbstractMapFormInput.ts:16
Properties
props
private
props:IMapFormInputProps
Input props passed to constructor.
Source
model/internal/inputs/abstract/AbstractMapFormInput.ts:14
Methods
create()
abstract
create():HTMLElement
It creates the input element.
Returns
HTMLElement
Implementation of
Source
model/internal/inputs/abstract/AbstractMapFormInput.ts:30
getProps()
protected
getProps():IMapFormInputProps
It provides the props to the exteded classes.
Returns
Source
model/internal/inputs/abstract/AbstractMapFormInput.ts:23
getValue()
abstract
getValue():unknown
It returns value of the input element.
Returns
unknown
Implementation of
Source
model/internal/inputs/abstract/AbstractMapFormInput.ts:35
setDisabled()
abstract
setDisabled(disabled
):void
It sets the input disabled.
Parameters
• disabled: boolean
Returns
void
Implementation of
Source
model/internal/inputs/abstract/AbstractMapFormInput.ts:49
setValue()
abstract
setValue(value
):void
It sets value of the input element.
Parameters
• value: unknown
Returns
void