]> git.wh0rd.org - tt-rss.git/blame - lib/dijit/form/DateTextBox.js.uncompressed.js
modify dojo rebuild script to remove uncompressed files
[tt-rss.git] / lib / dijit / form / DateTextBox.js.uncompressed.js
CommitLineData
f0cfe83e
AD
1define("dijit/form/DateTextBox", [
2 "dojo/_base/declare", // declare
3 "../Calendar",
4 "./_DateTimeTextBox"
5], function(declare, Calendar, _DateTimeTextBox){
6
7 // module:
8 // dijit/form/DateTextBox
9
10 return declare("dijit.form.DateTextBox", _DateTimeTextBox, {
11 // summary:
12 // A validating, serializable, range-bound date text box with a drop down calendar
13 // example:
14 // | new DateTextBox({value: new Date(2009, 0, 20)})
15 // example:
16 // | <input data-dojo-type='dijit/form/DateTextBox' value='2009-01-20'>
17
18 baseClass: "dijitTextBox dijitComboBox dijitDateTextBox",
19 popupClass: Calendar,
20 _selector: "date",
21
22 // value: Date
23 // The value of this widget as a JavaScript Date object, with only year/month/day specified.
24 // If specified in markup, use the format specified in `stamp.fromISOString`.
25 // set("value", ...) accepts either a Date object or a string.
26 value: new Date("") // value.toString()="NaN"
27 });
28});