FilterAutocompleteFormInput
geovisto-map / FilterAutocompleteFormInput
Class: FilterAutocompleteFormInput
This class represents a form input composed of three autocomplete inputs used for filters.
Author
Jakub Kachlik
Author
Jiri Hynek (refactoring, code review)
Extends
Constructors
new FilterAutocompleteFormInput()
new FilterAutocompleteFormInput(
props
):FilterAutocompleteFormInput
Parameters
• props: IFilterFormInputProps
Returns
Overrides
AbstractMapFormInput
.constructor
Source
model/internal/inputs/filter/autocomplete/FilterAutocompleteFormInput.ts:32
Properties
input
private
input:null
|object
Input element is composed of 3 HTML select elements
Source
model/internal/inputs/filter/autocomplete/FilterAutocompleteFormInput.ts:26
inputDiv
private
inputDiv:null
|HTMLDivElement
The input element is created when required.
Source
model/internal/inputs/filter/autocomplete/FilterAutocompleteFormInput.ts:21
Methods
create()
create():
HTMLElement
It returns filter div element composed of 3 autocomplete form inputs.
Returns
HTMLElement
Overrides
Source
model/internal/inputs/filter/autocomplete/FilterAutocompleteFormInput.ts:50
getInputElement()
getInputElement():
null
|object
It returns input
Returns
null
| object
Source
model/internal/inputs/filter/autocomplete/FilterAutocompleteFormInput.ts:115
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():
IFilterFormInputValue
It returns values of the inputs.
Returns
Overrides
Source
model/internal/inputs/filter/autocomplete/FilterAutocompleteFormInput.ts:76
setDisabled()
setDisabled(
disabled
):void
It sets the input disabled.
Parameters
• disabled: boolean
Returns
void
Overrides
AbstractMapFormInput
.setDisabled
Source
model/internal/inputs/filter/autocomplete/FilterAutocompleteFormInput.ts:104
setValue()
setValue(
value
):void
It sets values of the inputs.
Parameters
• value: IFilterFormInputValue
Returns
void
Overrides
Source
model/internal/inputs/filter/autocomplete/FilterAutocompleteFormInput.ts:93
ID()
static
ID():string
Static function returns identifier of the input type
Returns
string
Source
model/internal/inputs/filter/autocomplete/FilterAutocompleteFormInput.ts:43