-
Notifications
You must be signed in to change notification settings - Fork 439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turbo frames events #88
Comments
Would #59 address this? It doesn't introduce |
I'd also go so far as to say that it would also be useful to have events that notify when Turbo streams modify a frame, even just something like a I'm currently using MutationObservers to achieve this, but I wonder whether it would be more lightweight/performant to have the event fired directly by Turbo. |
@Sub-Xaero there is a
While the |
@seanpdoyle Indeed, thank you, I had missed that. My only issue with that is that it fires at the I had imagined an event being fired on the frame itself and bubbling. But, following the precedent set in https://discuss.hotwire.dev/t/event-to-know-a-turbo-stream-has-been-rendered/1554/6 , it is probably a better convention to use Thanks for your help, I'll carry on my merry way. |
Closed via #59 |
Would be really helpful to add turbo frames events just like turbo drive has with the
frame_id
as a payload for that event.Would this be something helpful to explore?
The text was updated successfully, but these errors were encountered: