The InteractiveInstantResult 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.
InteractiveInstantResult
Prepares to select the result after a certain delay, logging an analytics event if the result wasn't 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 an analytics 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
InteractiveInstantResult
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.