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/progress.reel/progress.js | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 node_modules/montage/ui/native/progress.reel/progress.js (limited to 'node_modules/montage/ui/native/progress.reel') diff --git a/node_modules/montage/ui/native/progress.reel/progress.js b/node_modules/montage/ui/native/progress.reel/progress.js new file mode 100644 index 00000000..4cf9e5c3 --- /dev/null +++ b/node_modules/montage/ui/native/progress.reel/progress.js @@ -0,0 +1,49 @@ +/* + 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/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/ui/native-control.NativeControl + +*/ +var Progress = exports.Progress = Montage.create(NativeControl, { + +}); + +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