Support Menu

Class TextInput

This class will create a text input meant to be used inside the AdvancedSearch component.

It can be, more specifically, used for external code using the AdvancedSearchEvents.buildingAdvancedSearch

Index

Methods

build

  • build(): HTMLElement

getElement

  • getElement(): HTMLElement

getValue

  • getValue(): string

reset

  • reset(): void

setValue

  • setValue(value: string): void

Constructors

constructor

  • new TextInput(onChange?: function, name?: string): TextInput
  • Create a new text input.

    Parameters

    • Default value onChange: function = () => { }

      will be called every time the text input change it's value. this will be the TextInput instance.

        • (): void
        • Returns void

    • Optional name: string

    Returns TextInput

Hierarchy

  • TextInput