Revert "Export"
[framework/web/web-ui-fw.git] / libs / js / jquery-mobile-1.1.0 / tests / functional / eventlogger.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4         <meta charset="utf-8">
5         <meta name="viewport" content="width=device-width, initial-scale=1">
6         <title>jQuery Mobile: Event Logger</title>
7         <link rel="stylesheet"  href="../../css/themes/default/jquery.mobile.css" />
8         <link rel="stylesheet" href="../../docs/_assets/css/jqm-docs.css" />
9         <script src="../../js/jquery.tag.inserter.js"></script>
10         <script src="../../js/jquery.js"></script>
11         <script src="../../docs/_assets/js/jqm-docs.js"></script>
12         <script src="../../js/"></script>
13
14         <script>
15         $( document )
16                 .bind("tap taphold swipe swipeleft swiperight scrollstart scrollstop orientationchange",function( e ){
17                         $("#log")
18                                 .prepend("<li>"+ e.type +" event; target: "+ e.target.nodeName +"</li>")
19                                 .listview("refresh");
20
21                 });
22         </script>
23 </head>
24 <body>
25 <div  data-role="page"  data-theme="b" id="jqm-home">
26         <div  data-role="header">
27                 <h1>Event Logger</h1>
28         </div>
29
30         <div  data-role="content">
31                 <p>Touch events on this page will log out below, prepending to the top as they arrive.</p>
32
33                 <ul  data-role="listview" id="log">
34
35                 </ul>
36
37         </div>
38 </div>
39 </body>
40 </html>