InstantSearch.js start callback

Is there a callback or event I can listen for after the call of search.start()?


Hi @ecoffman,

Please see if listening to the the render event like described here v2 and here v1 will work for you.

It’s an event triggered once all widgets have been rendered:

var search = instantsearch({...});
    search.on('render', function() {
    // FIXME

You could also create a custom widget and do a specific action in the render method like here v2 and here v1

Hope this helps!

Yeah, I used the search.on('render') and added run once check using a simple flag. That works.