javascript - is there some dojo.fx.sleep function to use within a dojo.fx.chain animation? -


I want to code fadeIn on a code. Then leave it for 10 seconds, then for one more 3 seconds, fade will be the following way:

  dojo.fx.chain ([ Dojo.fadeIn ({node: minod, duration: 1000}), // 1 second dojo for fadeIn ({node: minoid, duration: 10000}), // it does nothing for 10 seconds. FadeOut ({node: myNode, duration: 3000}) // fade out for 3 seconds)).  

In the last code, the middle step is a very silly way of not getting anything. Is there a definite dojo.fx.sleep animation that does nothing for a specified length?

I am not a dojo user, but common idioms from JQuery and prototype are the property of late, which in Dojo Also exists:

  dojo.addOnLoad (function () {var animation Arguments = {node: "testHeading", duration: 1000, // to run MS animation delay: playing 250 / ms First to stall}; dojo.fadeOut (animationgeagram) .play ();});  

Comments