LabeledColorFormInput
geovisto-map / LabeledColorFormInput
Class: LabeledColorFormInput
This class represents basic text sidebar input.
Author
Jakub Kachlik
Author
Jiri Hynek - conversion to TypeScript
TODO: replace this by LabeledTextFormInput
Extends
Implements
Constructors
new LabeledColorFormInput()
new LabeledColorFormInput(
props
):LabeledColorFormInput
Parameters
• props: ILabeledColorFormInputProps
Returns
Overrides
AbstractMapFormInput
.constructor
Source
model/internal/inputs/labeled/color/LabeledColorFormInput.ts:32
Properties
div?
private
optional
div:HTMLDivElement
The input element is created when required.
Source
model/internal/inputs/labeled/color/LabeledColorFormInput.ts:25
input?
private
optional
input:HTMLInputElement
Basic input is used.
Source
model/internal/inputs/labeled/color/LabeledColorFormInput.ts:30
Methods
create()
create():
HTMLDivElement
It returns input element.
Returns
HTMLDivElement
Implementation of
Overrides
Source
model/internal/inputs/labeled/color/LabeledColorFormInput.ts:50
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
Implementation of
Overrides
Source
model/internal/inputs/labeled/color/LabeledColorFormInput.ts:89
setDisabled()
setDisabled(
disabled
):void
It sets the input disabled.
Parameters
• disabled: boolean
Returns
void
Implementation of
Overrides
AbstractMapFormInput
.setDisabled
Source
model/internal/inputs/labeled/color/LabeledColorFormInput.ts:107
setValue()
setValue(
value
):void
It sets value of the input element.
Parameters
• value: string
Returns
void
Implementation of
Overrides
Source
model/internal/inputs/labeled/color/LabeledColorFormInput.ts:98
ID()
static
ID():string
Static function returns identifier of the input type.
Returns
string
Source
model/internal/inputs/labeled/color/LabeledColorFormInput.ts:43