mag-component-layout-list
Advanced tools
Comparing version
{ | ||
"name": "mag-component-layout-list", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Base layout list implementation.", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -58,9 +58,14 @@ Layout list component | ||
{ | ||
className: 'star' | ||
className: 'star', | ||
name: '$icon' | ||
}, | ||
'Some text' | ||
{ | ||
value: 'Some text', | ||
name: '$text' | ||
} | ||
], | ||
click: function () { | ||
// do something | ||
} | ||
}, | ||
name: 'starItem' | ||
}, | ||
@@ -101,2 +106,5 @@ { | ||
}); | ||
layoutList.links.starItem.links.$text.innerText = 'new cool text'; | ||
``` | ||
@@ -103,0 +111,0 @@ |
32953
0.69%175
4.79%