]>
git.wh0rd.org - tt-rss.git/blob - lib/dijit/form/DateTextBox.js.uncompressed.js
1 define("dijit/form/DateTextBox", [
2 "dojo/_base/declare", // declare
5 ], function(declare
, Calendar
, _DateTimeTextBox
){
8 // dijit/form/DateTextBox
10 return declare("dijit.form.DateTextBox", _DateTimeTextBox
, {
12 // A validating, serializable, range-bound date text box with a drop down calendar
14 // | new DateTextBox({value: new Date(2009, 0, 20)})
16 // | <input data-dojo-type='dijit/form/DateTextBox' value='2009-01-20'>
18 baseClass
: "dijitTextBox dijitComboBox dijitDateTextBox",
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"