Home > widget-integration > InstantSearchSelectors > getCloseSearchThemeSelector
InstantSearchSelectors.getCloseSearchThemeSelector() method
Build the combined CSS selector for theme close buttons.
Merges the built-in close-button selectors (Prestige, Super Store, etc.) with an optional custom selector from generalSettings.closeSearchThemeSelector.
Signature:
protected getCloseSearchThemeSelector(customSelector?: string): string;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
customSelector |
string |
(Optional) Optional custom selector from admin settings |
Returns:
string
Combined CSS selector string