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.
 
 
 
 
 
 

22 lines
707 B

define([
"dojo/_base/lang",
"dojo/_base/window"
], function(lang, win){
// module:
// dojox/mobile/_PickerChooser
return{
// summary:
// This widget chooses a picker class according to the current theme.
// Imports ValuePicker-based date/time picker when the current theme is "android".
// Imports SpinWheel-based date/time picker otherwise.
load: function (id, parentRequire, loaded){
// summary:
// Imports a picker class according to the current theme.
var dm = win.global._no_dojo_dm || lang.getObject("dojox.mobile", true);
parentRequire([(dm.currentTheme === "android" || dm.currentTheme === "holodark" ? "./ValuePicker" : "./SpinWheel") + id], loaded);
}
};
});