a:12:{s:9:"#provides";s:7:"dojo.fx";s:9:"#resource";s:5:"fx.js";s:9:"#requires";a:1:{i:0;a:2:{i:0;s:6:"common";i:1;s:15:"dojo.fx.Toggler";}}s:7:"dojo.fx";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:41:"Effects library on top of Base animations";}s:8:"_baseObj";a:3:{s:4:"type";s:6:"Object";s:7:"private";b:1;s:7:"summary";s:0:"";}s:13:"dojo.fx.chain";a:6:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:10:"animations";a:1:{s:4:"type";s:17:"dojo._Animation[]";}}s:6:"source";s:50:" return new _chain(animations) // dojo._Animation";s:7:"summary";s:52:"Chain a list of dojo._Animation s to run in sequence";s:7:"returns";s:15:"dojo._Animation";s:8:"examples";a:1:{i:0;s:95:" dojo.fx.chain([ dojo.fadeIn({ node:node }), dojo.fadeOut({ node:otherNode }) ]).play();";}}s:15:"dojo.fx.combine";a:7:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:10:"animations";a:1:{s:4:"type";s:17:"dojo._Animation[]";}}s:6:"source";s:53:" return new _combine(animations); // dojo._Animation";s:7:"summary";s:57:"Combine an array of `dojo._Animation`s to run in parallel";s:11:"description";s:163:"Combine an array of `dojo._Animation`s to run in parallel, providing a new `dojo._Animation` instance encompasing each animation, firing standard animation events.";s:7:"returns";s:15:"dojo._Animation";s:8:"examples";a:2:{i:0;s:97:" dojo.fx.combine([ dojo.fadeIn({ node:node }), dojo.fadeOut({ node:otherNode }) ]).play();";i:1;s:296:"When the longest animation ends, execute a function: var anim = dojo.fx.combine([ dojo.fadeIn({ node: n, duration:700 }), dojo.fadeOut({ node: otherNode, duration: 300 }) ]); dojo.connect(anim, "onEnd", function(){ // overall animation is done. }); anim.play(); // play the animation";}}s:14:"dojo.fx.wipeIn";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"args";a:1:{s:4:"type";s:6:"Object";}}s:6:"source";s:904:" args.node = d.byId(args.node); var node = args.node, s = node.style, o; var anim = d.animateProperty(d.mixin({ properties: { height: { // wrapped in functions so we wait till the last second to query (in case value has changed) start: function(){ // start at current [computed] height, but use 1px rather than 0 // because 0 causes IE to display the whole panel o = s.overflow; s.overflow="hidden"; if(s.visibility=="hidden"||s.display=="none"){ s.height="1px"; s.display=""; s.visibility=""; return 1; }else{ var height = d.style(node, "height"); return Math.max(height, 1); } }, end: function(){ return node.scrollHeight; } } } }, args)); d.connect(anim, "onEnd", function(){ s.height = "auto"; s.overflow = o; }); return anim; // dojo._Animation";s:7:"summary";s:181:"Returns an animation that will expand the node defined in 'args' object from it's current height to it's natural height (with no scrollbar). Node must have no margin/border/padding.";s:7:"returns";s:15:"dojo._Animation";}s:15:"dojo.fx.wipeOut";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"args";a:1:{s:4:"type";s:6:"Object";}}s:6:"source";s:478:" var node = args.node = d.byId(args.node), s = node.style, o; var anim = d.animateProperty(d.mixin({ properties: { height: { end: 1 // 0 causes IE to display the whole panel } } }, args)); d.connect(anim, "beforeBegin", function(){ o = s.overflow; s.overflow = "hidden"; s.display = ""; }); d.connect(anim, "onEnd", function(){ s.overflow = o; s.height = "auto"; s.display = "none"; }); return anim; // dojo._Animation";s:7:"summary";s:121:"Returns an animation that will shrink node defined in "args" from it's current height to 1px, and then hide it.";s:7:"returns";s:15:"dojo._Animation";}s:15:"dojo.fx.slideTo";a:6:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"args";a:2:{s:8:"optional";b:1;s:4:"type";s:6:"Object";}}s:6:"source";s:779:" var node = args.node = d.byId(args.node), top = null, left = null; var init = (function(n){ return function(){ var cs = d.getComputedStyle(n); var pos = cs.position; top = (pos == 'absolute' ? n.offsetTop : parseInt(cs.top) || 0); left = (pos == 'absolute' ? n.offsetLeft : parseInt(cs.left) || 0); if(pos != 'absolute' && pos != 'relative'){ var ret = d.coords(n, true); top = ret.y; left = ret.x; n.style.position="absolute"; n.style.top=top+"px"; n.style.left=left+"px"; } }; })(node); init(); var anim = d.animateProperty(d.mixin({ properties: { top: args.top || 0, left: args.left || 0 } }, args)); d.connect(anim, "beforeBegin", anim, init); return anim; // dojo._Animation";s:7:"summary";s:152:"Returns an animation that will slide "node" defined in args Object from its current position to the position defined by (args.left, args.top).";s:7:"returns";s:15:"dojo._Animation";s:8:"examples";a:1:{i:0;s:73:" dojo.fx.slideTo({ node: node, left:"40", top:"50", unit:"px" }).play()";}}s:14:"_baseObj._fire";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:3:"evt";a:1:{s:4:"type";s:0:"";}s:4:"args";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:79:" if(this[evt]){ this[evt].apply(this, args||[]); } return this;";s:7:"private";b:1;s:7:"summary";s:0:"";}s:4:"dojo";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}