We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10e582c commit 2cd0d20Copy full SHA for 2cd0d20
1 file changed
src/vdom/VNode.mjs
@@ -8,7 +8,7 @@ class VNode {
8
*/
9
constructor(config) {
10
/**
11
- * @member {Array} attributes=[]
+ * @member {Object} attributes={}
12
13
14
@@ -46,7 +46,7 @@ class VNode {
46
47
48
Object.assign(this, {
49
- attributes: config.attributes || [],
+ attributes: config.attributes || {},
50
childNodes: config.childNodes || [],
51
className : config.className || [],
52
id : config.id || Neo.getId('vnode'),
0 commit comments