@lvce-editor/virtual-dom 3.2.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -0
- package/package.json +5 -1
package/dist/index.js
CHANGED
|
@@ -765,6 +765,8 @@ const getEventListenerArg = (param, event) => {
|
|
|
765
765
|
return event.target.dataset.name;
|
|
766
766
|
case 'event.target.dataset.index':
|
|
767
767
|
return event.target.dataset.index;
|
|
768
|
+
case 'event.target.nodeName':
|
|
769
|
+
return event.target.nodeName;
|
|
768
770
|
default:
|
|
769
771
|
return param;
|
|
770
772
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/virtual-dom",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [],
|
|
7
7
|
"author": "",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"description": "",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/lvce-editor/virtual-dom.git"
|
|
13
|
+
},
|
|
10
14
|
"types": "dist/index.d.ts"
|
|
11
15
|
}
|