You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fire 'turbo:frame-render' event after turbo frame renders the view (#327)
* Fire 'turbo:after-fetch-render' event after turbo frame renders the view
* fixup! Fire 'turbo:after-fetch-render' event after turbo frame renders the view
* Change 'turbo:after-fetch-render' event to 'turbo:frame-render'
* Implement notifyApplicationAfterFrameRender in order to dispatch the 'turbo:frame-render' event
* Dispatch `turbo:frame-load` on turbo-frame
Closes#54Closeshotwired/turbo-rails#56
Dispatch `turbo:frame-load` lifecycle event when `<turbo-frame>` element
is navigated and finishes loading. The events bubble up, with the
`<turbo-frame>` element as the target.
Originally, this pull request involved numerous events, but in the
spirit of experimentation, we'll start with the one and see if others
are necessary.
* fixup! Dispatch `turbo:frame-load` on turbo-frame
Co-authored-by: John Kapantzakis <kapantzak@192.168.2.2>
Co-authored-by: David Heinemeier Hansson <david@loudthinking.com>
Co-authored-by: Sean Doyle <sean.p.doyle24@gmail.com>
0 commit comments