Sends an event to the Event API.
event's type to be emitted.
payload to include within the event.
Gets the client-side generated meta object.
event's type that will be included in the meta object.
Detach callback(s) from events. If only the "type" parameter is set, all callbacks for the specified type will be removed.
event's type.
Optional
callback: EventCallbackcallback that should be removed.
Attaches an event callback to either all event types or a specific one. The callback set will be called when an event with the specified type is emitted. It’s not possible to modify the payload of the event sent to Coveo using this listener. Setting type as "*" will trigger the callback for all event types. Returns the "off" function to detach the event callback.
event's type.
callback that should be called when the event is emitted.
Updates Relay's configuration after its initialization.
configuration that should be updated.
Current version of the Relay library.
Relay instance. This object provides a comprehensive set of variables and methods for interacting with the Event API.