Segment type for autocomplete results.
Determines the type of entity being suggested in autocomplete results.
Segment Types:
brand
category
plaintext
// Filter for brand results onlyconst resultType: AutocompleteSearchSegmentType[] = ['brand'];// Filter for categories and brandsconst resultType: AutocompleteSearchSegmentType[] = ['category', 'brand']; Copy
// Filter for brand results onlyconst resultType: AutocompleteSearchSegmentType[] = ['brand'];// Filter for categories and brandsconst resultType: AutocompleteSearchSegmentType[] = ['category', 'brand'];
Segment type for autocomplete results.
Determines the type of entity being suggested in autocomplete results.