Skip to main content
All events bubble and are composed, allowing you to listen on parent elements for convenient event delegation.

Reference Table

EventWhen it firesPayload
searchAfter the user submits a query (Enter or button){ query }
resultsWhen initial results are received and rendered{ results }
aiWhen AI-scored results/recommendations arrive{ success, recommendations, results, count, maxRelevance }
errorWhen a network or parsing error occurs{ error }

Examples

Fields trimmed for brevity.