aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage-user/ui/component-group.reel/component-group.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-01 00:09:27 -0800
committerValerio Virgillito2012-02-01 00:09:27 -0800
commit8592cfb89db05f0e52d8c1b8c7046e6f49e3522d (patch)
treea6f9b5adfe16fd6232708f8a2345cd79056caca9 /node_modules/montage-user/ui/component-group.reel/component-group.js
parentc6d1a1da9e7cdf477daf32410d80691eb1e828d5 (diff)
downloadninja-8592cfb89db05f0e52d8c1b8c7046e6f49e3522d.tar.gz
Adding a montage framework copy for the user document
Adding a new montage copy containing the latest version of montage to use the new native widgets Signed-off-by: Valerio Virgillito <valerio@motorola.com>
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});