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 --- node_modules/montage/ui/progress.reel/progress.js | 34 +++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) (limited to 'node_modules/montage/ui/progress.reel') diff --git a/node_modules/montage/ui/progress.reel/progress.js b/node_modules/montage/ui/progress.reel/progress.js index 973ec5b7..06704f9f 100755 --- a/node_modules/montage/ui/progress.reel/progress.js +++ b/node_modules/montage/ui/progress.reel/progress.js @@ -3,17 +3,47 @@ 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/progress.reel" + @requires montage/ui/commponent + @requires montage/ui/native-control +*/ + var Montage = require("montage").Montage, Component = require("ui/component").Component, NativeControl = require("ui/native-control").NativeControl; +/** + The Progress component wraps a native <progress> element and exposes its standard attributes as bindable properties. + @class module:"montage/ui/progress.reel".Progress + @extends module:montage/native-control.NativeControl +*/ var Progress = exports.Progress = Montage.create(NativeControl, { - + }); -Progress.addAttributes({ +Progress.addAttributes( /** @lends module:"montage/ui/progress.reel".Progress# */{ + +/** + The value of the id attribute of the form with which to associate the component's element. + @type string} + @default null +*/ form: null, + +/** + The maximum value displayed but the progress control. + @type {number} + @default null +*/ max: {dataType: 'number'}, + +/** + The current value displayed but the progress control. + @type {number} + @default null +*/ value: {dataType: 'number'} }); \ No newline at end of file -- cgit v1.2.3