source: Dev/trunk/src/client/dojox/mobile/tests/test_SimpleDialog-spinWheel.html

Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 1.3 KB
Line 
1<!DOCTYPE html>
2<html>
3<head>
4        <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
5        <meta name="viewport"
6                content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
7        <meta name="apple-mobile-web-app-capable" content="yes"/>
8        <title>Simple Dialog with SpinWheel Test</title>
9
10        <script type="text/javascript" src="../deviceTheme.js"></script>
11        <script type="text/javascript" src="../../../dojo/dojo.js"
12                data-dojo-config="async: true, parseOnLoad: true"></script>
13
14        <script type="text/javascript">
15        require(["dojo/parser",
16                "dojox/mobile",
17                "dojox/mobile/Button",
18                "dojox/mobile/SimpleDialog",
19                "dojox/mobile/SpinWheel"]);
20        </script>
21
22</head>
23<body style="visibility:hidden;">
24        <div data-dojo-type="dojox/mobile/SimpleDialog" id="dialog"
25                data-dojo-props="closeButton: true">
26                <div id="spin1" data-dojo-type="dojox/mobile/SpinWheel">
27                        <div data-dojo-type="dojox/mobile/SpinWheelSlot"
28                                labelFrom="3000" labelTo="3100"
29                                style="width:70px;"></div>
30                </div>
31        </div>
32       
33        <button data-dojo-type="dojox/mobile/Button" data-dojo-props="label:'Click me'">
34                <script type="dojo/on" data-dojo-event="click">
35                        require(['dijit/registry'], function(registry){
36                                registry.byId('dialog').show();
37                        });
38                </script>
39        </button>
40</body>
41</html>
Note: See TracBrowser for help on using the repository browser.