ft:search:resultsloaded - Fluid Topics - 3.8 - Technical Notes

Integrate Fluid Topics APIs

Product
Fluid Topics
FT_Version
3.8
Category
Technical Notes
language
English
audience
public

The ft:search:resultsloaded event is sent when new results are loaded on the Search page. The following lines show an example of how to use the ft:search:resultsloaded event:

document.addEventListener('ft:search:resultsloaded', function(event){
if (window.location.href.endsWith('/search/all')){
window.alert('We found all these documents corresponding to your search');
}
});