UNPKG

@spartacus/storefront

Version:

Spartacus Storefront is a package that you can include in your application, which allows you to add default storefront features.

25 lines (24 loc) 649 B
import { CxEvent, Suggestion } from '@spartacus/core'; /** * Indicates that the user chose a suggestion */ export declare class SearchBoxSuggestionSelectedEvent extends CxEvent { /** * Event's type */ static readonly type = "SearchBoxSuggestionSelectedEvent"; freeText: string; selectedSuggestion: string; searchSuggestions: Suggestion[]; } /** * Indicates that the user chose a product suggestion */ export declare class SearchBoxProductSelectedEvent extends CxEvent { /** * Event's type */ static readonly type = "SearchBoxProductSelectedEvent"; freeText: string; productCode: string; }