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.
 
 
 
 
 
 

41 lines
1.3 KiB

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<title>Simple Dialog with SpinWheel Test</title>
<script type="text/javascript" src="../deviceTheme.js"></script>
<script type="text/javascript" src="../../../dojo/dojo.js"
data-dojo-config="async: true, parseOnLoad: true"></script>
<script type="text/javascript">
require(["dojo/parser",
"dojox/mobile",
"dojox/mobile/Button",
"dojox/mobile/SimpleDialog",
"dojox/mobile/SpinWheel"]);
</script>
</head>
<body style="visibility:hidden;">
<div data-dojo-type="dojox/mobile/SimpleDialog" id="dialog"
data-dojo-props="closeButton: true">
<div id="spin1" data-dojo-type="dojox/mobile/SpinWheel">
<div data-dojo-type="dojox/mobile/SpinWheelSlot"
labelFrom="3000" labelTo="3100" pageSteps="10"
style="width:70px;"></div>
</div>
</div>
<button data-dojo-type="dojox/mobile/Button" data-dojo-props="label:'Click me'">
<script type="dojo/on" data-dojo-event="click">
require(['dijit/registry'], function(registry){
registry.byId('dialog').show();
});
</script>
</button>
</body>
</html>