Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AutocompleteService<T>

Type parameters

  • T

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected app

Protected opts

opts: T

registered

registered: any[] = []

registeredAutocompleteTags

registeredAutocompleteTags: AutocompleteTag[] = []

registeredProductTags

registeredProductTags: Tag[] = []

registeredSearchBoxTags

registeredSearchBoxTags: Tag[] = []

Methods

getPastPurchases

  • getPastPurchases(__namedParameters: object): void

hasActiveSuggestion

  • hasActiveSuggestion(): boolean

init

  • init(): void

isInSearchBox

  • isInSearchBox(el: HTMLElement): boolean

lazyInit

  • lazyInit(): void

lazyInitProducts

  • lazyInitProducts(): void

register

  • register(tag: Tag): void

registerAutocomplete

registerProducts

  • registerProducts(tag: Tag): void

registerSearchBox

  • registerSearchBox(tag: Tag): void

requestLocation

  • requestLocation(): void

updateProducts

  • updateProducts(query: string): void

updateProductsWithSearchTerms

  • updateProductsWithSearchTerms(__namedParameters: object): void

updateSearchTerms

  • updateSearchTerms(query: string): void

Generated using TypeDoc