An event emitted via the Event Service using the topic name search-api/QUERY.

interface QueryEvent {
    context: undefined | string;
    query: string;
}

Properties

Properties

context: undefined | string

Context parameter that was specified when the search was started.

May indicate the UI widget or bundle where the search was originally triggered.

See also SearchOptions.context.

query: string

The original search query entered by the user.