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

Fix hx-on:* examples to use kebab-case event names, add clarification #1611

Merged
merged 1 commit into from Jul 18, 2023
Merged

Fix hx-on:* examples to use kebab-case event names, add clarification #1611

merged 1 commit into from Jul 18, 2023

Conversation

ElnuDev
Copy link
Contributor

@ElnuDev ElnuDev commented Jul 18, 2023

Currently the examples in the documentation for hx-on:* include camelCase event names, which as the documentation says itself won't work due to DOM attributes not preserving casing. I've updated the events in the examples from camelCase to kebab-case and added extra clarification to the documentation.

@alexpetros alexpetros self-requested a review July 18, 2023 22:41
Copy link
Collaborator

@alexpetros alexpetros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch, thank you!

@alexpetros alexpetros merged commit 65bd1e1 into bigskysoftware:master Jul 18, 2023
6 checks passed
@ElnuDev ElnuDev deleted the hx-on-kebab-case branch July 18, 2023 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants