JSFiddle - React, Tailwind, and code Playground
by psoares
HTML
<link rel="stylesheet" href="http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/themes/claro/claro.css">
<body class="claro">
<div id="pane" data-dojo-type="dijit/layout/ContentPane" href="/echo/html/">
<script type="dojo/on" data-dojo-method="downloadend">
alert("Loaded with dojo/on");
</script>
<script type="dojo/aspect" data-dojo-event="onDownloadEnd">
alert("Loaded with dojo/aspect");
</script>
</div>
</body>
CSS
#pane { height : 100%, boder : 1px solid olive; }
JavaScript
require([
"dojo/parser",
"dijit/registry",
"dojox/layout/ContentPane"
], function(parser, registry, ContentPane){
parser.parse().then(function(){
var pane = registry.byId("pane");
pane.set("href", "/");
});
});