Debugging Turbolinks 5
Public
29 Jun 07:56

document.addEventListener('turbolinks:click', () => console.log('turbolinks:click'))
document.addEventListener('turbolinks:before-visit', () => console.log('turbolinks:before-visit'))
document.addEventListener('turbolinks:visit', () => console.log('turbolinks:visit'))
document.addEventListener('turbolinks:request-start', () => console.log('turbolinks:request-start'))
document.addEventListener('turbolinks:request-end', () => console.log('turbolinks:request-end'))
document.addEventListener('turbolinks:before-cache', () => console.log('turbolinks:before-cache'))
document.addEventListener('turbolinks:before-render', () => console.log('turbolinks:before-render'))
document.addEventListener('turbolinks:render', () => console.log('turbolinks:render'))
document.addEventListener('turbolinks:load', () => console.log('turbolinks:load'))

Comments

Empty! You must sign in to add comments.