Debian Codegraph @

dojox/form/DateTextBox.js

raw symbols SCIP
1 define([
2 "dojo/_base/kernel",
3 "dojo/dom-style",
4 "dojox/widget/Calendar",
5 "dijit/form/_DateTimeTextBox",
6 "dojo/_base/declare"
7 ], function(kernel, domStyle, Calendar, _DateTimeTextBox, declare){
8 kernel.experimental("dojox/form/DateTextBox");
9 return declare( "dojox.form.DateTextBox", _DateTimeTextBox,
10 {
11 // summary:
12 // A validating, serializable, range-bound date text box with a popup calendar
13
14 baseClass: "dijitTextBox dijitComboBox dojoxDateTextBox",
15
16 // popupClass: String
17 // The popup widget to use. In this case, a calendar with Day, Month and Year views.
18 popupClass: Calendar,
19
20 _selector: "date",
21
22 openDropDown: function(){
23 this.inherited(arguments);
24 domStyle.set(this.dropDown.domNode.parentNode, "position", "absolute");
25 }
26 }
27 );
28 });