From 29ff9bc52a5c1d48dbea019aa3a4a5b3b3b6e20a Mon Sep 17 00:00:00 2001 From: Yue JIN Date: Thu, 29 Feb 2024 14:52:27 +0800 Subject: [PATCH] feat: support native listener in Vue 3 --- README.md | 24 ++++++++++++++++++++++++ src/ECharts.ts | 20 +++++++++++++++++--- 2 files changed, 41 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 51d5c16..b17ca92 100644 --- a/README.md +++ b/README.md @@ -464,6 +464,30 @@ Vue-ECharts support the following events: See supported events [here →](https://echarts.apache.org/en/api.html#events) +#### Native DOM Events + +
+Vue 3 + +```vue + +``` + +
+ +
+Vue 2 + +```vue + +``` + +
+ ## CSP: `style-src` or `style-src-elem` If you are applying a CSP to prevent inline `