sample skeleton application with dojo toolkit & arcgis js api v 4.30
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
789 B

define([
"dojo/_base/kernel",
"dojo/dom-style",
"dojox/widget/Calendar",
"dijit/form/_DateTimeTextBox",
"dojo/_base/declare"
], function(kernel, domStyle, Calendar, _DateTimeTextBox, declare){
kernel.experimental("dojox/form/DateTextBox");
return declare( "dojox.form.DateTextBox", _DateTimeTextBox,
{
// summary:
// A validating, serializable, range-bound date text box with a popup calendar
baseClass: "dijitTextBox dijitComboBox dojoxDateTextBox",
// popupClass: String
// The popup widget to use. In this case, a calendar with Day, Month and Year views.
popupClass: Calendar,
_selector: "date",
openDropDown: function(){
this.inherited(arguments);
domStyle.set(this.dropDown.domNode.parentNode, "position", "absolute");
}
}
);
});