Hierarchy

  • Dropdown

Constructors

  • Parameters

    • ID: null | string
    • callback: CallableFunction
    • options: null | string[] = null
    • Optional defaultText: string
      Optional

    Returns Dropdown

Properties

#callback: CallableFunction
#container: HTMLElement
#defaultValue: string
#index: number = 0
#options: HTMLElement
#optionsList: string[] = []
#value: HTMLElement

Methods

  • Parameters

    • defaultText: undefined | string

    Returns HTMLDivElement

  • Parameters

    • optionsList: string[]
    • sortAlphabetically: boolean = true

    Returns void

  • Parameters

    • optionsElements: HTMLElement[]

    Returns void

Generated using TypeDoc