Skip to content

GlobalSearchPluginInstance.openGlobalSearch method

GlobalSearchPluginInstance › openGlobalSearch

Unofficial

Opens the global search with the given query.

Signature:

openGlobalSearch(query: string, active?: boolean | undefined): void

Parameters:

Parameter Type Description
query string The search query.
active? boolean | undefined Whether to focus the search view. Defaults to true.

Returns: void