Home > widget-integration > InstantSearchSelectors > detectThemeDialogs
InstantSearchSelectors.detectThemeDialogs() method
Detect open theme dialogs.
**1:1 port of legacy detectThemeDialogs().** Uses the same 3 hardcoded selectors — all of which already require [open] in the selector string, so only currently-open dialogs are returned.
Signature:
detectThemeDialogs(): HTMLElement[];
Returns:
HTMLElement[]
Array of open dialog elements (deduplicated)