Skip to main content

LabeledSelectFormInput

geovisto-mapReadme | API


geovisto-map / LabeledSelectFormInput

Class: LabeledSelectFormInput

This class represents basic select form input composed of options.

Author

Jiri Hynek

Extends

Implements

Constructors

new LabeledSelectFormInput()

new LabeledSelectFormInput(props): LabeledSelectFormInput

Parameters

props: ILabeledSelectFormInputProps

Returns

LabeledSelectFormInput

Overrides

SelectFormInput.constructor

Source

model/internal/inputs/labeled/select/LabeledSelectFormInput.ts:19

Properties

div?

private optional div: HTMLDivElement

The input element is created when required.

Source

model/internal/inputs/labeled/select/LabeledSelectFormInput.ts:17

Methods

create()

create(): HTMLElement

It returns select element.

Returns

HTMLElement

Implementation of

IMapFormInput.create

Overrides

SelectFormInput.create

Source

model/internal/inputs/labeled/select/LabeledSelectFormInput.ts:35


getProps()

protected getProps(): IMapFormInputProps

It provides the props to the exteded classes.

Returns

IMapFormInputProps

Inherited from

SelectFormInput.getProps

Source

model/internal/inputs/abstract/AbstractMapFormInput.ts:23


getValue()

getValue(): string

It returns value of the select element.

Returns

string

Implementation of

IMapFormInput.getValue

Inherited from

SelectFormInput.getValue

Source

model/internal/inputs/basic/select/SelectFormInput.ts:53


setDisabled()

setDisabled(disabled): void

It sets the input disabled.

Parameters

disabled: boolean

Returns

void

Implementation of

IMapFormInput.setDisabled

Inherited from

SelectFormInput.setDisabled

Source

model/internal/inputs/basic/select/SelectFormInput.ts:71


setValue()

setValue(value): void

It sets value of the select element.

Parameters

value: string

Returns

void

Implementation of

IMapFormInput.setValue

Inherited from

SelectFormInput.setValue

Source

model/internal/inputs/basic/select/SelectFormInput.ts:62


ID()

static ID(): string

Static function returns identifier of the input type

Returns

string

Overrides

SelectFormInput.ID

Source

model/internal/inputs/labeled/select/LabeledSelectFormInput.ts:28