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.
39 lines (35 loc) • 1.24 kB
HTML
<html>
<!--
A ValuePicker that has only one slot.
Note that this test case does not load dojox.mobile themes such as iphone.css.
Nor does it load the dojox.mobile base, i.e., not requiring "dojox.mobile".
-->
<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>One Slot ValuePicker</title>
<script type="text/javascript" src="../deviceTheme.js" data-dojo-config="mblThemeFiles: ['base','ValuePicker']"></script>
<script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="async: true, parseOnLoad: true"></script>
<script type="text/javascript">
require([
"dojox/mobile/parser",
"dojox/mobile",
"dojox/mobile/compat",
"dojox/mobile/ValuePicker"
]);
</script>
<style>
.windows_theme .mblValuePickerSlot {
width: 100px ;
}
</style>
</head>
<body>
<div data-dojo-type="dojox.mobile.ValuePicker">
<div data-dojo-type="dojox.mobile.ValuePickerSlot"
data-dojo-props='labelFrom:3000, labelTo:3100, style:{width:"72px"}'></div>
</div>
</body>
</html>