diff options
author | Valerio Virgillito | 2012-06-17 22:31:44 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-17 22:31:44 -0700 |
commit | 8fe92b94ce5e1e2857d088752d94e19db7e3d8a8 (patch) | |
tree | d84807aae0b974b5200050972dd94da6066e363b /node_modules/montage/ui/number-input.reel/number-input.js | |
parent | e570fc8518cf03dd03c15982edcf17c5ba0a293d (diff) | |
download | ninja-8fe92b94ce5e1e2857d088752d94e19db7e3d8a8.tar.gz |
montage v11 merge into ninja
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/number-input.reel/number-input.js')
-rw-r--r-- | node_modules/montage/ui/number-input.reel/number-input.js | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/node_modules/montage/ui/number-input.reel/number-input.js b/node_modules/montage/ui/number-input.reel/number-input.js deleted file mode 100644 index 010c0b75..00000000 --- a/node_modules/montage/ui/number-input.reel/number-input.js +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<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. | ||
5 | </copyright> */ | ||
6 | |||
7 | /** | ||
8 | @module "montage/ui/number-input.reel" | ||
9 | @requires montage/ui/component | ||
10 | @requires montage/ui/text-input | ||
11 | */ | ||
12 | |||
13 | var Montage = require("montage").Montage, | ||
14 | Component = require("ui/component").Component, | ||
15 | TextInput = require("ui/text-input").TextInput; | ||
16 | |||
17 | /** | ||
18 | * Wraps the a <input type="date"> element with binding support for the element's standard attributes. | ||
19 | @class module:"montage/ui/number-input.reel".NumberInput | ||
20 | @extends module:montage/text-input.TextInput | ||
21 | */ | ||
22 | var NumberInput = exports.NumberInput = Montage.create(TextInput, { | ||
23 | |||
24 | }); | ||
25 | |||
26 | NumberInput.addAttributes(/** @lends module:"montage/ui/number-input.reel".NumberInput */{ | ||
27 | |||
28 | /** | ||
29 | The maximum value displayed but the number control. | ||
30 | @type {number} | ||
31 | @default null | ||
32 | */ | ||
33 | max: {dataType: 'number'}, | ||
34 | |||
35 | /** | ||
36 | The minimum value displayed but the number control. | ||
37 | @type {number} | ||
38 | @default null | ||
39 | */ | ||
40 | min: {dataType: 'number'}, | ||
41 | |||
42 | /** | ||
43 | The amount the number changes with each step. | ||
44 | @type {number} | ||
45 | @default null | ||
46 | */ | ||
47 | step: null // number or 'any' | ||
48 | }); | ||