Skip to content

Set Search Query

Set the query text in the search box. Can be a useful shortcut for complex search queries.

Signature

TypeScript
function setSearchQuery(query: string): void;

Parameters

  • query: Query text to set in the search box.

Returns

  • Void.

Examples

TypeScript
zeta.v1.ui.setSearchQuery("#work #task user onboarding");