LabeledSliderFormInput
geovisto-map / LabeledSliderFormInput
Class: LabeledSliderFormInput
This class represents basic text sidebar input.
Author
Jakub Kachlik
Author
Jiri Hynek - conversion to TypeScript
Extends
Constructors
new LabeledSliderFormInput()
new LabeledSliderFormInput(
props
):LabeledSliderFormInput
Parameters
• props: ILabeledSliderFormInputProps
Returns
Overrides
AbstractMapFormInput
.constructor
Source
model/internal/inputs/labeled/slider/LabeledSliderFormInput.ts:33
Properties
div?
private
optional
div:HTMLDivElement
The input element is created when required.
Source
model/internal/inputs/labeled/slider/LabeledSliderFormInput.ts:26
input?
private
optional
input:HTMLInputElement
Basic input is used.
Source
model/internal/inputs/labeled/slider/LabeledSliderFormInput.ts:31
Methods
create()
create():
HTMLDivElement
It returns input element.
Returns
HTMLDivElement
Overrides
Source
model/internal/inputs/labeled/slider/LabeledSliderFormInput.ts:51
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 input element.
Returns
string
Overrides
Source
model/internal/inputs/labeled/slider/LabeledSliderFormInput.ts:99
setDisabled()
setDisabled(
disabled
):void
It sets the input disabled.
Parameters
• disabled: boolean
Returns
void
Overrides
AbstractMapFormInput
.setDisabled
Source
model/internal/inputs/labeled/slider/LabeledSliderFormInput.ts:117
setValue()
setValue(
value
):void
It sets value of the input element.
Parameters
• value: string
Returns
void
Overrides
Source
model/internal/inputs/labeled/slider/LabeledSliderFormInput.ts:108
ID()
static
ID():string
Static function returns identifier of the input type.
Returns
string
Source
model/internal/inputs/labeled/slider/LabeledSliderFormInput.ts:44