Wijmo UI for the Web
collapseAnimation Option
wijmo.tree.wijtree Namespace > options type : collapseAnimation Option

The collapseAnimation option determines the animation effect, easing, and duration for hiding child nodes when the parent node is collapsed.

Type: Object

Default: null

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  wijmo.tree.wijtree_animation
    returnsValue = $(".selector").wijtree("option", "collapseAnimation");
    
    // Set value
    var newValue; // Type:  wijmo.tree.wijtree_animation
    $(".selector").wijtree("option", "collapseAnimation", newValue);
        
});
var collapseAnimation : wijtree_animation;
Remarks

effect The animation effect that is used when the wijtree is collapsed. Please see the Animation topic for a list of the available animation effects.

duration The duration of the animation in milliseconds.

easing A value that indicates the easing function that will be applied to the animation. For more information, please see the Animation topic.

See Also

Reference

options type
wijtree jQuery Widget