Skip to content
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

Document Morph events #159

Merged
merged 1 commit into from
Jan 29, 2024
Merged

Conversation

seanpdoyle
Copy link
Contributor

Related to #1097

Documents the new events, namely:

  • turbo:morph
  • turbo:before-morph-element
  • turbo:morph-element
  • turbo:before-morph-attribute

In addition to the new elements, mention that both turbo:render and turbo:before-render will encode either "replace" or "morph" into their respective event.detail.renderMethod properties.

Related to [#1097][]

Documents the new events, namely:

* `turbo:morph`
* `turbo:before-morph-element`
* `turbo:morph-element`
* `turbo:before-morph-attribute`

In addition to the new elements, mention that both `turbo:render` and
`turbo:before-render` will encode either `"replace"` or `"morph"` into
their respective `event.detail.renderMethod` properties.

[#1097]: hotwired/turbo#1097
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants