We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.0.2
https://codesandbox.io/s/laughing-merkle-esils?file=/src/components/HelloWorld.vue
@my-event="listener"
emit("my-event")
Kebab-case events should be listenable and preferred, as per the docs
My understanding is that #2278 normalizes all event listeners to pascal-casing, making it impossible to listen to kebab-case events.
In fact, binding with @myEvent="listener" works with both emit("my-event") and emit("myEvent").
@myEvent="listener"
emit("myEvent")
I ran into this bug because of an issue posted to my library, in which my kebab-case listeners were not being triggered.
The text was updated successfully, but these errors were encountered:
#2429 already reported this, my bad
Sorry, something went wrong.
No branches or pull requests
Version
3.0.2
Reproduction link
https://codesandbox.io/s/laughing-merkle-esils?file=/src/components/HelloWorld.vue
Steps to reproduce
@my-event="listener"
)emit("my-event")
)What is expected?
Kebab-case events should be listenable and preferred, as per the docs
What is actually happening?
My understanding is that #2278 normalizes all event listeners to pascal-casing, making it impossible to listen to kebab-case events.
In fact, binding with
@myEvent="listener"
works with bothemit("my-event")
andemit("myEvent")
.I ran into this bug because of an issue posted to my library, in which my kebab-case listeners were not being triggered.
The text was updated successfully, but these errors were encountered: