aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage-user/ui/component-group.reel/component-group.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/montage-user/ui/component-group.reel/component-group.js')
-rwxr-xr-xnode_modules/montage-user/ui/component-group.reel/component-group.js33
1 files changed, 33 insertions, 0 deletions
diff --git a/node_modules/montage-user/ui/component-group.reel/component-group.js b/node_modules/montage-user/ui/component-group.reel/component-group.js
new file mode 100755
index 00000000..e9daab5b
--- /dev/null
+++ b/node_modules/montage-user/ui/component-group.reel/component-group.js
@@ -0,0 +1,33 @@
1/* <copyright>
2 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5 </copyright> */
6// TODO: ComponentList instead? ComponentContainer?
7/**
8 @module "montage/ui/component-group.reel"
9 @requires montage/core/core
10 @requires montage/ui/component
11*/
12var Montage = require("montage").Montage;
13var Component = require("ui/component").Component;
14
15/**
16 @class module:"montage/ui/component-group.reel".ComponentGroup
17 @extends module:montage/ui/component.Component
18 */
19var ComponentGroup = exports.ComponentGroup = Montage.create(Component, /** @lends module:"montage/ui/component-group.reel".ComponentGroup# */ {
20
21 hasTemplate: {value: false},
22
23/**
24 Initializes the ComponentGroup instance's <code>childComponents</code> array with the specified array of components.
25 @function
26 @param {Component} components Components to be initialized.
27 @returns itself
28*/
29 initWithComponents: {value: function(components) {
30 this.childComponents = components;
31 return this;
32 }}
33});