Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ComboBox<T>

Type parameters

  • T

Hierarchy

  • ComboBox

Index

Constructors

constructor

Properties

button

button: JQuery

elem

elem: JQuery

input

input: JQuery

menu

menu: JQuery

Optional onBeforeChange

onBeforeChange: undefined | function

Optional onChange

onChange: undefined | function

optionsData

optionsData: IDictionary<object>

Methods

addOption

  • addOption(key: string, value: string, selected: boolean, data?: T | null, isEmpty?: undefined | false | true, disabled?: undefined | false | true): JQuery
  • Parameters

    • key: string
    • value: string
    • selected: boolean
    • Optional data: T | null
    • Optional isEmpty: undefined | false | true
    • Optional disabled: undefined | false | true

    Returns JQuery

addSeparator

  • addSeparator(): JQuery
  • Returns JQuery

getOptionsData

  • getOptionsData(): Option<T>[]

getValue

  • getValue(): string
  • Returns string

getValueData

  • getValueData(): T | null
  • Returns T | null

removeAllOptions

  • removeAllOptions(): void
  • Returns void

setValue

  • setValue(value: string): void
  • Parameters

    • value: string

    Returns void

Static closeAll

  • closeAll(): void
  • Returns void