Function
A simple `dojo.Animation` toggler API.
class constructor for an animation toggler. It accepts a packed set of arguments about what type of animation to use in each direction, duration, etc. All available members are mixed into these animations from the constructor (for example, `node`, `showDuration`, `hideDuration`).
var t = new dojo.fx.Toggler({ node: "nodeId", showDuration: 500, // hideDuration will default to "200" showFunc: dojo.fx.wipeIn, // hideFunc will default to "fadeOut" }); t.show(100); // delay showing for 100ms // ...time passes... t.hide();
DomNode
the node to target for the showing and hiding animations
Function
The function that returns the `dojo.Animation` to show the node
Function
The function that returns the `dojo.Animation` to hide the node
Time
in milliseconds to run the show Animation
Time
in milliseconds to run the hide Animation
Function
Ammount of time to stall playing the show animation
Toggle the node to showing
Function
Ammount of time to stall playing the hide animation
Toggle the node to hidden
Object
Object