diff options
author | Armen Kesablyan | 2012-05-08 16:43:43 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-05-08 16:43:43 -0700 |
commit | dc075ffcc6dd03c090d90fad999eee9b924d56ee (patch) | |
tree | 867f8bdd588c8f9076979233ca46a688ff70523e /node_modules/montage/ui/progress.reel | |
parent | 5d7e470351fd150d5e70a97332fa2f2553797499 (diff) | |
parent | 4d949f141247215b5f2a6ec0cfc7d2d31cf2bb1f (diff) | |
download | ninja-dc075ffcc6dd03c090d90fad999eee9b924d56ee.tar.gz |
Merge branch 'refs/heads/dom-architecture' into binding
Conflicts:
js/components/layout/tools-properties.reel/tools-properties.html
Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/progress.reel')
-rwxr-xr-x | node_modules/montage/ui/progress.reel/progress.js | 34 |
1 files changed, 32 insertions, 2 deletions
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 @@ | |||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<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. | 4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. |
5 | </copyright> */ | 5 | </copyright> */ |
6 | |||
7 | /** | ||
8 | @module "montage/ui/progress.reel" | ||
9 | @requires montage/ui/commponent | ||
10 | @requires montage/ui/native-control | ||
11 | */ | ||
12 | |||
6 | var Montage = require("montage").Montage, | 13 | var Montage = require("montage").Montage, |
7 | Component = require("ui/component").Component, | 14 | Component = require("ui/component").Component, |
8 | NativeControl = require("ui/native-control").NativeControl; | 15 | NativeControl = require("ui/native-control").NativeControl; |
9 | 16 | ||
17 | /** | ||
18 | The Progress component wraps a native <code><progress></code> element and exposes its standard attributes as bindable properties. | ||
19 | @class module:"montage/ui/progress.reel".Progress | ||
20 | @extends module:montage/native-control.NativeControl | ||
10 | 21 | ||
22 | */ | ||
11 | var Progress = exports.Progress = Montage.create(NativeControl, { | 23 | var Progress = exports.Progress = Montage.create(NativeControl, { |
12 | 24 | ||
13 | }); | 25 | }); |
14 | 26 | ||
15 | Progress.addAttributes({ | 27 | Progress.addAttributes( /** @lends module:"montage/ui/progress.reel".Progress# */{ |
28 | |||
29 | /** | ||
30 | The value of the id attribute of the form with which to associate the component's element. | ||
31 | @type string} | ||
32 | @default null | ||
33 | */ | ||
16 | form: null, | 34 | form: null, |
35 | |||
36 | /** | ||
37 | The maximum value displayed but the progress control. | ||
38 | @type {number} | ||
39 | @default null | ||
40 | */ | ||
17 | max: {dataType: 'number'}, | 41 | max: {dataType: 'number'}, |
42 | |||
43 | /** | ||
44 | The current value displayed but the progress control. | ||
45 | @type {number} | ||
46 | @default null | ||
47 | */ | ||
18 | value: {dataType: 'number'} | 48 | value: {dataType: 'number'} |
19 | }); \ No newline at end of file | 49 | }); \ No newline at end of file |