question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Event listener not working in Vue 2.7

See original GitHub issue

Confirmation

  • I can confirm this problem is not reproducible with ECharts itself.

How are you introducing Vue-ECharts into your project?

ES Module imports

Versions

echarts 5.3.3
vue 2.7.3
vue-echarts 6.2.2

Details

Should print log in console when hovering on chart, but nothing happens.

Reproduction

https://stackblitz.com/edit/vitejs-vite-kdw9ez

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Justineocommented, Jul 12, 2022

v-on should work now by upgrading to vue-echarts@6.2.3.

0reactions
Justineocommented, Jul 12, 2022

@youthug Please open a new issue with proper reproduction. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Event Handling - Vue.js
To address this problem, Vue provides event modifiers for v-on . Recall that modifiers are directive ... use capture mode when adding the...
Read more >
Event listener not firing in Vue - javascript - Stack Overflow
I want to toggle an element's visibility on keypress in Vue. The problem is I see the event is attached to the element...
Read more >
How To Create a Global Event Bus in Vue 2 - DigitalOcean
This code creates an event listener for clicked and logs a message to the console with the number of times the button has...
Read more >
Listen for and debounce Window Resize Event in Vue.JS
Remove the event listener during the destroyed lifecycle hook to stop listening for 'resize'. Set the initial height/width when the component ...
Read more >
Events and Event Listeners (Symfony Docs)
Defining Event Listeners with PHP Attributes ... If your methods are not called when an exception is thrown, double-check that you're loading services...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found