...
This event is fired after every autocomplete query. This can be used to modify the raw request sent to response received from the Hawksearch API.
Code Block | ||
---|---|---|
| ||
addEventListener('hawksearch:after-autocomplete-executed', (event) => { const autocompleteResponse = event.detail; console.log(autocompleteResponse); }); |
...
This event is fired after every search operation. This can be used to modify the raw request sent to response received from the Hawksearch API.
Code Block | ||
---|---|---|
| ||
addEventListener('hawksearch:after-search-executed', (event) => { const searchResponse = event.detail; console.log(searchResponse); }); |
...