Closed cchko closed 9 years ago
Hi @cchko,
From the CoffeeScript turbolinks_replace_test.coffee file, I guess:
document.addEventListener 'page:partial-load', (event) ->
# your code here
Or in Javascript:
document.addEventListener('page:partial-load', function(event) {
// your code here
});
Have a good day
:+1:
Thanks!
Is there a way to bind to the
page:partial-load
event without jQuery? Couldn't find documentation for this.