The autocomplete adapter is a class that implements the Autocomplete interface. The design system does not force you to have to build your backend systems in any specific way.

interface AutocompleteAdapter {
    getAutocompleteSuggestions(searchText): Promise<string[]>;
}

Methods

  • Gets the mega menu contents (as an HtmlElement) for the given id or URL.

    Parameters

    • searchText: string

      inputted text

    Returns Promise<string[]>

Generated using TypeDoc