Home > widget-integration > ThemeSearchConfig
ThemeSearchConfig interface
Theme-specific search configuration.
**Legacy**: Hard-coded selectors scattered in index.js **New**: Configurable per-theme with extensibility via window config
Signature:
export interface ThemeSearchConfig
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string |
(Optional) CSS selector for dialog close button | ||
|
string |
(Optional) CSS selector for theme's search dialog/modal | ||
|
() => void |
(Optional) Custom handler when ISW closes | ||
|
() => void |
(Optional) Custom handler when ISW opens | ||
|
string |
CSS selector for search input elements | ||
|
string |
(Optional) Theme identifier |