Skip to main content

LabeledTextFormInput

geovisto-mapReadme | API


geovisto-map / LabeledTextFormInput

Class: LabeledTextFormInput

This class represents labeled text form input.

Author

Jiri Hynek

Author

Krystof Rykala - input div wrapper

Extends

Implements

Constructors

new LabeledTextFormInput()

new LabeledTextFormInput(props): LabeledTextFormInput

Parameters

props: ILabeledTextFormInputProps

Returns

LabeledTextFormInput

Overrides

TextFormInput.constructor

Source

model/internal/inputs/labeled/text/LabeledTextFormInput.ts:20

Properties

div?

private optional div: HTMLDivElement

The input element is created when required.

Source

model/internal/inputs/labeled/text/LabeledTextFormInput.ts:18

Methods

create()

create(): HTMLElement

It returns input element.

Returns

HTMLElement

Implementation of

IMapFormInput.create

Overrides

TextFormInput.create

Source

model/internal/inputs/labeled/text/LabeledTextFormInput.ts:36


createLabel()

protected createLabel(): HTMLDivElement

A help method which creates the label HTML element.

Returns

HTMLDivElement

Source

model/internal/inputs/labeled/text/LabeledTextFormInput.ts:58


getInput()

protected getInput(): undefined | HTMLInputElement

It makes input element visible for the extended classes.

Returns

undefined | HTMLInputElement

Inherited from

TextFormInput.getInput

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

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

Inherited from

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

Inherited from

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

Inherited from

TextFormInput.setValue

Source

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


ID()

static ID(): string

Static function returns identifier of the input type.

Returns

string

Overrides

TextFormInput.ID

Source

model/internal/inputs/labeled/text/LabeledTextFormInput.ts:29