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.
Cancels the pending selection caused by beginDelayedSelect
.
In a DOM context, it's recommended to call this method on the touchend
event.
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
InteractiveProduct
sub-controller provides an interface for handling long presses, multiple clicks, etc. to ensure analytics events are logged properly when a user selects a product.