...
Code Block | ||
---|---|---|
| ||
interface HawksearchConfig { clientId: string; breakpoints?: { tablet: number; desktop: number; }; css?: { customUrlcustomStyles?: string | Array<string>; defaultStyles?: boolean; }; endpoints?: { search: string; tracking: string; }; fieldMappings?: { imageUrl?: string; price?: string; salePrice?: string; title?: string; type?: string; url?: string; }; formatting?: { cultureIsoCode?: string; currencyIsoCode?: string; }; placeholderImageUrl?: string; queryStringMappings?: { disableSpellcheck?: string; facet?: string; page?: string; pageSize?: string; query?: string; searchWithin?: string; sort?: string; }; templates?: HawksearchTemplates; trackingEnabled?: boolean; urlPrefixes?: { assets?: string; content?: string; }; } |
...
Property | Required | Default Value | Description |
---|---|---|---|
| No | To load a custom stylesheet into the Shadow DOM for use with this library, you can assign either a URL or an array of URLs to this property. | |
| No |
| A simple, generic layout is provided out-of-the-box. For heavily-customized implementations, this property can be set to |
...