Apisearch Interactions (asi)
This library is part of the Apisearch project.
user interaction that you consider as important action to train the
Apisearch brain. This will be useful to give a more useful and interesting results
on your customer's searches.
npm && yarn
npm i apisearch-interactions --save// oryarn add apisearch-interactions
You can either download the library and use a relative path to your assets folder, or use a CDN like jsDelivr.
You can capture any DOM event and trigger the interaction.
The last parameter
10refers to the interaction weight. The bigger the number, the greater the importance of the interaction.