Skip to content

Commit

Permalink
Fix panel demo
Browse files Browse the repository at this point in the history
Change-Id: I8c6202f997e823507c31578a2865adeec5483ec9
  • Loading branch information
Akron committed Aug 7, 2024
1 parent 37eebdc commit 6333dd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/demo/panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand All @@ -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') }]
]);
Expand Down

0 comments on commit 6333dd1

Please sign in to comment.