From 8fe92b94ce5e1e2857d088752d94e19db7e3d8a8 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Sun, 17 Jun 2012 22:31:44 -0700 Subject: montage v11 merge into ninja Signed-off-by: Valerio Virgillito --- .../montage/ui/native/select.reel/select.js | 496 +++++++++++++++++++++ 1 file changed, 496 insertions(+) create mode 100644 node_modules/montage/ui/native/select.reel/select.js (limited to 'node_modules/montage/ui/native/select.reel') diff --git a/node_modules/montage/ui/native/select.reel/select.js b/node_modules/montage/ui/native/select.reel/select.js new file mode 100644 index 00000000..ae86c541 --- /dev/null +++ b/node_modules/montage/ui/native/select.reel/select.js @@ -0,0 +1,496 @@ +/* + This file contains proprietary software owned by Motorola Mobility, Inc.
+ No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+ (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +
*/ + +/** + @module "montage/ui/select.reel" + @requires montage/ui/component + @requires montage/ui/controller/array-controller + @requires montage/ui/native-control + @requires montage/ui/composer/press-composer +*/ + +var Montage = require("montage").Montage, + Component = require("ui/component").Component, + ArrayController = require("ui/controller/array-controller").ArrayController, + NativeControl = require("ui/native-control").NativeControl, + PressComposer = require("ui/composer/press-composer").PressComposer; + +/** + * Wraps the a <select> element with binding support for the element's standard attributes. Uses an ArrayController instance to manage the element's contents and selection. + @class module:"montage/ui/select.reel".Select + @extends module:montage/ui/native-control.NativeControl + @summary + If the <select> markup contains