search-ui icon indicating copy to clipboard operation
search-ui copied to clipboard

Events callback

Open stanza237 opened this issue 5 years ago • 3 comments

I can't find documentation on events callback. Is there any event callback for pagination? i.e. Callback when a user changes page, or changes sortBy parameter

stanza237 avatar Nov 30 '20 15:11 stanza237

There are no event hooks yet (except for analytics), but they are on the roadmap.

Depending on the exact use case, custom handlebars templates with inline event handlers could be a workaround.

anttiai avatar Dec 01 '20 13:12 anttiai

Is there any update on the issue? It is something that I could really use.

I have tried the workaround by adding event handlers in the handlerbars template, but it isn't called.

sorenhusted avatar Mar 31 '23 11:03 sorenhusted

Hey @sorenhusted! We are having a disussion on ways to make improvement here. Could you give more details on your use case? Also could you post some code you tried for the handlebards event handlers so we could take a look? Thanks!

jkytomaki avatar Apr 05 '23 07:04 jkytomaki