Skip to main content

AbstractMapFormInput

geovisto-map • Readme | API


geovisto-map / AbstractMapFormInput

Class: abstract AbstractMapFormInput

This class represents an abstract form input.

Author​

Jiri Hynek

Extended by​

Implements​

Constructors​

new AbstractMapFormInput()​

new AbstractMapFormInput(props): AbstractMapFormInput

Parameters​

• props: IMapFormInputProps

Returns​

AbstractMapFormInput

Source​

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

Properties​

props​

private props: IMapFormInputProps

Input props passed to constructor.

Source​

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

Methods​

create()​

abstract create(): HTMLElement

It creates the input element.

Returns​

HTMLElement

Implementation of​

IMapFormInput.create

Source​

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


getProps()​

protected getProps(): IMapFormInputProps

It provides the props to the exteded classes.

Returns​

IMapFormInputProps

Source​

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


getValue()​

abstract getValue(): unknown

It returns value of the input element.

Returns​

unknown

Implementation of​

IMapFormInput.getValue

Source​

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


setDisabled()​

abstract setDisabled(disabled): void

It sets the input disabled.

Parameters​

• disabled: boolean

Returns​

void

Implementation of​

IMapFormInput.setDisabled

Source​

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


setValue()​

abstract setValue(value): void

It sets value of the input element.

Parameters​

• value: unknown

Returns​

void

Implementation of​

IMapFormInput.setValue

Source​

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