Fix panel demo
Change-Id: I8c6202f997e823507c31578a2865adeec5483ec9
diff --git a/dev/demo/panel.html b/dev/demo/panel.html
index ea8f57d..0b4d6c4 100644
--- a/dev/demo/panel.html
+++ b/dev/demo/panel.html
@@ -25,7 +25,7 @@
};
let panel = panelClass.create();
- let actions = panel.actions;
+ let actions = panel.actions();
// Add simple button
actions.add('Meta',{'cls':['meta']}, function () {
@@ -37,7 +37,7 @@
// Add list button
var list = actions.addList('More', ['list']);
- list.readItems([
+ list.list.readItems([
['cool', 'cool', function (e, action) { console.log('really' + this.action()) }],
['very cool', 'veryCool', function (e, action) { console.log('very cool') }]
]);