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 --- .../montage/ui/date-input.reel/date-input.js | 33 ++++++++++++++++++++-- 1 file changed, 30 insertions(+), 3 deletions(-) (limited to 'node_modules/montage/ui/date-input.reel/date-input.js') diff --git a/node_modules/montage/ui/date-input.reel/date-input.js b/node_modules/montage/ui/date-input.reel/date-input.js index 0d8ff613..ba654960 100644 --- a/node_modules/montage/ui/date-input.reel/date-input.js +++ b/node_modules/montage/ui/date-input.reel/date-input.js @@ -3,17 +3,44 @@ 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/date-input.reel" + @requires montage/core/core + @requires montage/ui/component + @requires montage/ui/text-input +*/ var Montage = require("montage").Montage, Component = require("ui/component").Component, TextInput = require("ui/text-input").TextInput; + /** - * The Component wrapper for input type="date" + Wraps an <input type="date"> element as a component. + @class module:"montage/ui/date-input.reel".DateInput + @extends module:montage/ui/text-input.TextInput */ var DateInput = exports.DateInput = Montage.create(TextInput, { }); -DateInput.addAttributes({ +DateInput.addAttributes( /** @lends module:"montage/ui/date-input.reel".DateInput# */{ + +/** + The upper bound for the element’s value represented in the "full-date" format, (for example, 2001-05-24). + @type {string} + @default: null +*/ max: null, +/** + The lower bound for the element’s value represented in the "full-date" format, (for example, 2001-05-24). + @type {string} + @default: null +*/ min: null, - step: null // 'any' or a floating point number + +/** + The amount the date changes with each step. + @type {string|number} + @default null +*/ + step: null }); \ No newline at end of file -- cgit v1.2.3