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