jQuery.wijmo.wijtree Namespace > options type : collapseAnimation Field |
The collapseAnimation option determines the animation effect, easing, and duration for hiding child nodes when the parent node is collapsed.
Javascript (Usage) | |
---|---|
var value; // Type: wijtree_animation value = jQuery.wijmo.wijtree.options.collapseAnimation; |
Javascript (Specification) | |
---|---|
var collapseAnimation : wijtree_animation; |
<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>
options type
collapseAnimation Option
expandAnimation Option