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:

ParameterTypeDescription
querystringThe search query.
active?boolean | undefinedWhether to focus the search view. Defaults to true.

Returns: void