aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/date-input.reel/date-input.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-02 18:04:37 -0800
committerJose Antonio Marquez2012-02-02 18:04:37 -0800
commit7959d2ecc6e8b1799307de1ceab1112b8ab58e8d (patch)
treece4e32578e1af4d49b8375933a6b7edd0a095b0f /node_modules/montage/ui/date-input.reel/date-input.js
parent83ac41dd75ec551cdb03252e0bf3081182517d05 (diff)
parentc630ead20487c3948fa36448d3e7d5f7b5cba782 (diff)
downloadninja-7959d2ecc6e8b1799307de1ceab1112b8ab58e8d.tar.gz
Merge branch 'refs/heads/NinjaInternal' into Color
Conflicts: js/controllers/elements/shapes-controller.js js/data/pi/pi-data.js js/panels/properties/content.reel/content.js
Diffstat (limited to 'node_modules/montage/ui/date-input.reel/date-input.js')
-rw-r--r--node_modules/montage/ui/date-input.reel/date-input.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/node_modules/montage/ui/date-input.reel/date-input.js b/node_modules/montage/ui/date-input.reel/date-input.js
new file mode 100644
index 00000000..af163258
--- /dev/null
+++ b/node_modules/montage/ui/date-input.reel/date-input.js
@@ -0,0 +1,31 @@
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> */
6var Montage = require("montage").Montage,
7 Component = require("ui/component").Component,
8 TextInput = require("ui/text-input").TextInput;
9/**
10 * The Component wrapper for input type="date"
11 */
12var DateInput = exports.DateInput = Montage.create(TextInput, {
13 hasTemplate: {value: true}
14});
15
16DateInput.addAttributes({
17 autocomplete: null,
18 disabled: {dataType: 'boolean'},
19 list: null, // list of autocomplete options
20 max: null,
21 maxlength: null,
22 min: null,
23 multiple: null,
24 name: null,
25 pattern: null,
26 placeholder: null,
27 readonly: {dataType: 'boolean'},
28 required: {dataType: 'boolean'},
29 size: null,
30 src: null
31});