Skip to main content

TextFormInput

geovisto-mapReadme | API


geovisto-map / TextFormInput

Class: TextFormInput

This class represents basic text form input.

Author

Jiri Hynek

Author

Krystof Rykala - generic input types

Extends

Implements

Constructors

new TextFormInput()

new TextFormInput(props): TextFormInput

Parameters

props: ITextFormInputProps

Returns

TextFormInput

Overrides

AbstractMapFormInput.constructor

Source

model/internal/inputs/basic/text/TextFormInput.ts:20

Properties

input?

private optional input: HTMLInputElement

Basic input is used.

Source

model/internal/inputs/basic/text/TextFormInput.ts:18

Methods

create()

create(): HTMLElement

It returns input element.

Returns

HTMLElement

Implementation of

IMapFormInput.create

Overrides

AbstractMapFormInput.create

Source

model/internal/inputs/basic/text/TextFormInput.ts:34


getInput()

protected getInput(): undefined | HTMLInputElement

It makes input element visible for the extended classes.

Returns

undefined | HTMLInputElement

Source

model/internal/inputs/basic/text/TextFormInput.ts:48


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 input element.

Returns

string

Implementation of

IMapFormInput.getValue

Overrides

AbstractMapFormInput.getValue

Source

model/internal/inputs/basic/text/TextFormInput.ts:55


setDisabled()

setDisabled(disabled): void

It sets the input disabled.

Parameters

disabled: boolean

Returns

void

Implementation of

IMapFormInput.setDisabled

Overrides

AbstractMapFormInput.setDisabled

Source

model/internal/inputs/basic/text/TextFormInput.ts:73


setValue()

setValue(value): void

It sets value of the input element.

Parameters

value: string

Returns

void

Implementation of

IMapFormInput.setValue

Overrides

AbstractMapFormInput.setValue

Source

model/internal/inputs/basic/text/TextFormInput.ts:64


ID()

static ID(): string

Static function returns identifier of the input type.

Returns

string

Source

model/internal/inputs/basic/text/TextFormInput.ts:27