Home > widget-integration > InstantSearchSelectors > hideThemeDialog

InstantSearchSelectors.hideThemeDialog() method

Hide theme search dialogs when ISW opens (full-width style).

**1:1 port of legacy hideThemeDialogWhenISWOpens().** Closes each open dialog and marks it with boostWasClosed so restoreThemeDialog() can identify which ones we closed.

Signature:

hideThemeDialog(): boolean;

Returns:

boolean

True if at least one dialog was closed