You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both the regular bubbling and capture event listener should be added to the element and the handler functions should be called when the event is triggered.
What is actually happening?
The bubbling event listener works fine but the capturing event listener throws an error when triggered and the handler for it doesn't get called.
Here is how you would do this in Vue 2 in a render function: