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.
42 lines (37 loc) • 1.46 kB
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>Progress Indicator - size</title>
<script type="text/javascript" src="../deviceTheme.js" data-dojo-config="mblThemeFiles: ['base']"></script>
<script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="async: true, parseOnLoad: true"></script>
<script type="text/javascript">
require([
"dojo/_base/window",
"dojo/ready",
"dojox/mobile/ProgressIndicator",
"dojox/mobile/parser",
"dojox/mobile",
"dojox/mobile/compat"
], function(win, ready, ProgressIndicator){
ready(function(){
var prog1 = new ProgressIndicator({size:80, center:false});
win.body().appendChild(prog1.domNode);
prog1.start();
var prog2 = new ProgressIndicator({size:40, center:false});
win.body().appendChild(prog2.domNode);
prog2.start();
var prog3 = new ProgressIndicator({size:20, center:false});
win.body().appendChild(prog3.domNode);
prog3.start();
});
});
</script>
</head>
<body style="visibility:hidden;">
<div data-dojo-type="dojox.mobile.ProgressIndicator" startSpinning="true" size="120" center="false"></div>
<div data-dojo-type="dojox.mobile.ProgressIndicator" startSpinning="true"></div>
</body>
</html>