JSFiddle - React, Tailwind, and code Playground
dojo fx wipeIn/wipeOut/chain example
by kfranqueiro
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dijit/themes/claro/claro.css">
<button onclick="dostuff();">do stuff</button>
<div id="foo" style="display: none">
<p>y helo thar.</p>
<p>lalala.</p>
<p>I've got legs.</p>
</div>
JavaScript
dojo.require('dojo.fx');
function dostuff() {
dojo.fx.chain([dojo.fx.wipeIn({
node: 'foo'
}), dojo.fx.wipeOut({
node: 'foo'
})]).play();
}