From 24b483db367291b72170f969de78efcb1a9b95bd Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Thu, 3 May 2012 22:53:07 -0700 Subject: integrating the latest montage version Signed-off-by: Valerio Virgillito --- .../montage/ui/select-input.reel/select-input.js | 86 ++++++++++++++++++++-- 1 file changed, 80 insertions(+), 6 deletions(-) (limited to 'node_modules/montage/ui/select-input.reel/select-input.js') diff --git a/node_modules/montage/ui/select-input.reel/select-input.js b/node_modules/montage/ui/select-input.reel/select-input.js index 220c3814..10847569 100644 --- a/node_modules/montage/ui/select-input.reel/select-input.js +++ b/node_modules/montage/ui/select-input.reel/select-input.js @@ -4,14 +4,28 @@ (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. */ +/** + @module "montage/ui/select-input.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; - -var SelectInput = exports.SelectInput = Montage.create(NativeControl, { +/** + * 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-input.reel".SelectInput + @extends module:montage/native-control.NativeControl + @summary + If the <select> markup contains