dijit
Version:
Dijit provides a complete collection of user interface controls based on Dojo, giving you the power to create web applications that are highly optimized for usability, performance, internationalization, accessibility, but above all deliver an incredible u
37 lines (34 loc) • 905 B
HTML
<html>
<head>
<title>Dijit RadioButton Bidi test</title>
<link rel="stylesheet" href="../../../themes/claro/claro.css">
<script type="text/javascript" src="../../../../dojo/dojo.js"
data-dojo-config="isDebug: true, async: true, has: { 'dojo-bidi': true }"></script>
<script>
require([
"doh/runner",
"dojo/parser",
"dijit/registry",
"dijit/form/RadioButton",
"dojo/domReady!"
], function(doh, parser, registry){
doh.register("basic", [
{
name: "creation",
runTest: function(){
// then() calls in parser() make it asynchronous even when module already loaded
return parser.parse().then(function(){
doh.t(registry.byId("radio"), "created");
});
}
}
]);
doh.run();
});
</script>
</head>
<body>
<div data-dojo-type="dijit/form/RadioButton" id="radio"></div>
</body>
</html>