Library Reference
...
JS Library
Events
Events callback
2min
below are some useful callback examples see events docid\ rkzthursamevyexdjzsnw for more detals on syntax and options quicksearch klevu coreevent attach("setremoteconfigquickoverride", { name "attachremoteconfigquickoverride", fire function () { klevu each( klevu search extrasearchbox, function (key, box) { box getscope() chains events focus add({ name "customfocusevent", fire function (data, scope) { console log("\[event] quick search on focus event"); } }); box getscope() chains events keyup add({ name "customkeyupevent", fire function (data, scope) { console log("\[event] quick search on keyup event"); } }); box getscope() chains request send add({ name "customsendevent", fire function (data, scope) { console log("\[event] quick search send search request"); } }); box getscope() chains template render add({ name "customrenderevent", fire function (data, scope) { console log("\[event] quick search results rendering") } }); box getscope() chains template events add({ name "customafterrenderevent", fire function (data, scope) { console log("\[event] quick search results rendered") } }); } ); } }); template klevu search landing getscope() chains template events add({ name "renderresponsecustom", fire function(data, scope) { console log("klevu template rendered"); } });