The InteractiveResult controller provides an interface for triggering desirable side effects, such as logging UA events to the Coveo Platform, when a user selects a query result.
InteractiveResult
Prepares to select the result after a certain delay, sending analytics if it was never selected before.
In a DOM context, it's recommended to call this method on the touchstart event.
touchstart
Cancels the pending selection caused by beginDelayedSelect.
beginDelayedSelect
In a DOM context, it's recommended to call this method on the touchend event.
touchend
Selects the result, logging a UA event to the Coveo Platform if the result wasn't selected before.
In a DOM context, it's recommended to call this method on all of the following events:
contextmenu
click
mouseup
mousedown
The
InteractiveResult
controller provides an interface for triggering desirable side effects, such as logging UA events to the Coveo Platform, when a user selects a query result.