diff options
Diffstat (limited to 'js/panels/Panel.reel')
-rwxr-xr-x | js/panels/Panel.reel/Panel.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/panels/Panel.reel/Panel.js b/js/panels/Panel.reel/Panel.js index 613bef4b..bd9b4e2f 100755 --- a/js/panels/Panel.reel/Panel.js +++ b/js/panels/Panel.reel/Panel.js | |||
@@ -13,6 +13,10 @@ exports.Panel = Montage.create(Component, { | |||
13 | value: "Panel" | 13 | value: "Panel" |
14 | }, | 14 | }, |
15 | 15 | ||
16 | groups: { | ||
17 | value: [] | ||
18 | }, | ||
19 | |||
16 | _collapsed: { | 20 | _collapsed: { |
17 | value: false | 21 | value: false |
18 | }, | 22 | }, |
@@ -119,6 +123,12 @@ exports.Panel = Montage.create(Component, { | |||
119 | this.application.ninja.colorController.colorView = this.application.ninja.colorController.colorPanelBase.create(); | 123 | this.application.ninja.colorController.colorView = this.application.ninja.colorController.colorPanelBase.create(); |
120 | } | 124 | } |
121 | 125 | ||
126 | if(this.groups) { | ||
127 | this.groups.forEach(function(className) { | ||
128 | this.element.classList.add(className); | ||
129 | }.bind(this)); | ||
130 | } | ||
131 | |||
122 | if(this.modulePath && this.moduleName) { | 132 | if(this.modulePath && this.moduleName) { |
123 | // Load the slot content | 133 | // Load the slot content |
124 | var that = this; | 134 | var that = this; |