Questions tagged [vue-events]
85 questions
1
vote
2 answers
Vue jsx event handlers
Is there any docs section which clarifies why I should use camel case for click handler, but kebab for input (and everything else)? But not for click, for click only onClick works.
Actually I noticed that for common input both options work fine…

Maksim Nesterenko
- 5,661
- 11
- 57
- 91
1
vote
1 answer
vue-flatpicker - can't get selected date on close event
When I listen to flatpicker's on-close event and log v-model's value in the event function I get previously selected date

Sašo Kovačič
- 891
- 1
- 9
- 21
1
vote
1 answer
Fire event when changing route before DOM changes and outside the route itself?
I opened a similar topic a few days ago, where I was suggested to use beforeRouteLeave within the route component definition.
However, I'm creating a Vue component and I won't have control over how developers wants to define their route components.…

Alvaro
- 40,778
- 30
- 164
- 336
0
votes
1 answer
Problems with passing event from child component. Vue 3
The item is not removed from list. Although I am passing the red to the event via emit().
parent
...

Rim Khairullin
- 3
- 1
0
votes
2 answers
What is the alternative to using this.$on method for listening to events in the Vue 3 setup script?
I used Vue a few years ago, but haven't written any code since the composition API was released. I'm having trouble finding documentation on how to listen to events within a component using the new