This worked for me with vanilla JS (where #content-blocks
is the turbo-frame
ID)
document.querySelector("#content-blocks").loaded.then(() => {
...
})
This worked for me with vanilla JS (where #content-blocks
is the turbo-frame
ID)
document.querySelector("#content-blocks").loaded.then(() => {
...
})