Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GAutoCompleteComboBox

Hierarchy

Index

Properties

autoSelectOnReturn: boolean

If true, the first item is selected when return is typed.

Methods

  • hide(): void
  • Close the Combo Box popup.

    Returns void

  • show(text: string, heading: string, options: string[], onSelectCallback: Function, onTypedCallback?: Function, entryType?: number): void
  • Show the Combo Box popup with auto-complete.

    Parameters

    • text: string

      Default text to display in the text entry field.

    • heading: string

      Text to display as the heading of the combo box popup.

    • options: string[]

      An array of strings to use as the initial auto-complete data.

    • onSelectCallback: Function

      Callback when an item is selected from the combo box.

    • Optional onTypedCallback: Function

      (Optional) Callback whenever something is typed into the entry field.

    • Optional entryType: number

      (Optional) The type of OSK to use (0:default, 1:phone number, 2:email, 3:url).

    Returns void

  • update(options: string[]): void
  • Update the list of auto-complete options to a new list.

    Parameters

    • options: string[]

    Returns void