[Go to site: main page, start]

Type Alias AutocompleteCallback

AutocompleteCallback: (
    identifier: string,
    label: string,
    options?: @param {string} [options.prefix] The matched prefix that originally triggered this autocomplete menu. ,
) => any

Type Declaration

    • (
          identifier: string,
          label: string,
          options?: @param {string} [options.prefix] The matched prefix that originally triggered this autocomplete menu. ,
      ): any
    • Parameters

      • identifier: string

        The identifier of the entry that was selected.

      • label: string

        The label of the entry that was selected.

      • Optionaloptions: @param {string} [options.prefix] The matched prefix that originally triggered this autocomplete menu.

      Returns any