nexa-runtime 0.8.1 → 0.8.3
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/vdom/dom.js +6 -0
- package/package.json +2 -2
package/dist/vdom/dom.js
CHANGED
|
@@ -67,6 +67,9 @@ export const domOptions = {
|
|
|
67
67
|
Object.assign(el.style, nextValue);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
+
else if (el.tagName && el.tagName.includes('-')) {
|
|
71
|
+
el[key] = nextValue;
|
|
72
|
+
}
|
|
70
73
|
else if (key === 'vShow') {
|
|
71
74
|
if (el._vShowEffect) {
|
|
72
75
|
el._vShowEffect.dispose();
|
|
@@ -100,6 +103,9 @@ export const domOptions = {
|
|
|
100
103
|
else
|
|
101
104
|
el.removeAttribute(key);
|
|
102
105
|
}
|
|
106
|
+
else if (typeof nextValue === 'object' && nextValue !== null) {
|
|
107
|
+
el[key] = nextValue;
|
|
108
|
+
}
|
|
103
109
|
else {
|
|
104
110
|
if (nextValue == null) {
|
|
105
111
|
el.removeAttribute(key);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexa-runtime",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"nexa-reactivity": "0.8.
|
|
16
|
+
"nexa-reactivity": "0.8.2"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"dist"
|