Skip to content

GlobalSearchPluginInstance.getGlobalSearchQuery method

GlobalSearchPluginInstance › getGlobalSearchQuery

Unofficial

Gets the current global-search query string.

Signature:

getGlobalSearchQuery(): string

Returns: stringThe current query, or an empty string when the search view is not open.