wijmo.tree Namespace > wijtree_animation Interface : easing Field |
The easing option uses Raphael easing formulas to add effects to the animation, such as allowing an item to bounce realistically. For more information, please see Easing in the Animation topic.
Default: "linear"
Javascript (Usage) | |
---|---|
var instance; // Type: wijmo.tree.wijtree_animation; var value; // Type: string value = instance.easing; |
Javascript (Specification) | |
---|---|
|
<script id="scriptInit" type="text/javascript"> $(document).ready(function () { $("#tree").wijtree({ collapseAnimation:{ effect: "shake", duration: 1000, easing: "easeOutBounce" }, expandAnimation:{ effect: "fold", duration: 1000, easing: "easeInBounce" } }); }); </script>
Valid Values (see http://raphaeljs.com/easing.html for easing demos):
wijtree_animation Interface
duration
effect
expandAnimation Option
collapseAnimation Option