UNPKG

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.

38 lines (34 loc) 1.66 kB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <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>Toggle Button</title> <link href="../../themes/android/base.css" rel="stylesheet"> <link href="../../themes/android/base-compat.css" rel="stylesheet"> <link href="../../themes/android/ToggleButton.css" rel="stylesheet"> <link href="../../themes/android/ToggleButton_rtl.css" rel="stylesheet"> <style type="text/css"> @import "../../themes/android/android.css"; </style> <script type="text/javascript" src="../../../../dojo/dojo.js" djConfig="parseOnLoad: true, has: {'dojo-bidi': true}"></script> <script language="JavaScript" type="text/javascript"> dojo.require("dojox.mobile"); // This is a mobile app. dojo.require("dojo.parser"); //dojo.require("dojox.mobile.parser"); // This mobile app supports running on desktop browsers dojo.require("dojox.mobile.compat"); // This mobile app uses declarative programming with fast mobile parser dojo.require("dojox.mobile.Button"); dojo.require("dojox.mobile.ToggleButton"); </script> </head> <body style="visibility:hidden;" dir="rtl"> <div id="settings" dojoType="dojox.mobile.View" selected="true"> <div> <div> <button data-dojo-type="dojox.mobile.ToggleButton" dir="rtl">Toggle me RTL</button> </br></br> <button data-dojo-type="dojox.mobile.ToggleButton" dir="ltr">Toggle me Left</button> </div> </div> </div> </body> </html>