Class Dropdown

Index

Methods

build

  • build(): HTMLElement

getElement

  • getElement(): HTMLElement

getValue

  • getValue(): string

reset

  • reset(): void

select

  • select(index: number, executeOnChange?: boolean): void

setValue

  • setValue(value: string): void

Constructors

constructor

  • new Dropdown(onChange?: function, listOfValues: string[], getDisplayValue?: function, label?: string): Dropdown
  • Parameters

    • Default value onChange: function = (dropdown: Dropdown) => {}
    • listOfValues: string[]
    • Default value getDisplayValue: function = l
        • (string: any): string
        • Parameters

          • string: any

          Returns string

    • Optional label: string

    Returns Dropdown

Hierarchy

  • Dropdown

Implements