Any particular reason why camelCased event names not supported? #626
jreviews
started this conversation in
4. General
Replies: 1 comment 5 replies
-
|
@jreviews html attributes aren't case sensitive, so it's not really down to Alpine it's just a DOM thing. Why DOM no good 🤔 |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is in reference to #310 (comment)
I've been doing some tests with htmx.org and Alpine. htmx offers a number of events one can listen to, but they do have a camelCase format. For example
htmx:afterRequest. So the following code doesn't work:So, is there any particular reason why camelCased event names not supported? Is it an Alpine thing or camelCased events cause issues in general?
Beta Was this translation helpful? Give feedback.
All reactions