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
Copy file name to clipboardExpand all lines: README.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -464,6 +464,30 @@ Vue-ECharts support the following events:
464
464
465
465
See supported events [here →](https://echarts.apache.org/en/api.html#events)
466
466
467
+
#### Native DOM Events
468
+
469
+
<detailsopen>
470
+
<summary>Vue 3</summary>
471
+
472
+
```vue
473
+
<template>
474
+
<v-chart @native:click="handleClick" />
475
+
</template>
476
+
```
477
+
478
+
</details>
479
+
480
+
<detailsopen>
481
+
<summary>Vue 2</summary>
482
+
483
+
```vue
484
+
<template>
485
+
<v-chart @click.native="handleClick" />
486
+
</template>
487
+
```
488
+
489
+
</details>
490
+
467
491
## CSP: `style-src` or `style-src-elem`
468
492
469
493
If you are applying a CSP to prevent inline `<style>` injection, you need to use files from `dist/csp` directory and include `dist/csp/style.css` into your app manually.
0 commit comments