Skip to main content

SelectFormInput

geovisto-mapReadme | API


geovisto-map / SelectFormInput

Class: SelectFormInput

This class represents a basic select form input composed of options.

Author

Jiri Hynek

Extends

Constructors

new SelectFormInput()

new SelectFormInput(props): SelectFormInput

Parameters

props: ISelectFormInputProps

Returns

SelectFormInput

Overrides

AbstractMapFormInput.constructor

Source

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

Properties

element?

private optional element: HTMLSelectElement

the input element is initialized when required

Source

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

Methods

create()

create(): HTMLElement

It returns select element.

Returns

HTMLElement

Overrides

AbstractMapFormInput.create

Source

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


getProps()

protected getProps(): IMapFormInputProps

It provides the props to the exteded classes.

Returns

IMapFormInputProps

Inherited from

AbstractMapFormInput.getProps

Source

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


getValue()

getValue(): string

It returns value of the select element.

Returns

string

Overrides

AbstractMapFormInput.getValue

Source

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


setDisabled()

setDisabled(disabled): void

It sets the input disabled.

Parameters

disabled: boolean

Returns

void

Overrides

AbstractMapFormInput.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

Overrides

AbstractMapFormInput.setValue

Source

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


ID()

static ID(): string

Static function returns identifier of the input type

Returns

string

Source

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