dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
23 lines (19 loc) • 678 B
JavaScript
define([
"dojo/_base/lang",
"./_PickerChooser!DatePicker"
], function(lang, DatePicker){
// module:
// dojox/mobile/DatePicker
// TODO: need to list all the properties/methods in the interface provided by
// SpinWheelDatePicker / ValuePickerDatePicker
/*=====
return function(){
// summary:
// A wrapper widget around SpinWheelDatePicker or ValuePickerDatePicker.
// It should be used with the automatic theme loader, dojox/mobile/deviceTheme.
// Returns ValuePickerDatePicker when the current theme is "android" or "holodark".
// Returns SpinWheelDatePicker otherwise.
};
=====*/
return lang.setObject("dojox.mobile.DatePicker", DatePicker);
});