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

Type: wijmo.tree.wijtree_animation

The expandAnimation option determines the animation effect, easing, and duration for showing child nodes when the parent node is expanded.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  wijmo.tree.wijtree_animation
    returnsValue = $(".selector").wijtree("option", "expandAnimation");
    
    // Set value
    var newValue; // Type:  wijmo.tree.wijtree_animation
    $(".selector").wijtree("option", "expandAnimation", newValue);
        
});
var expandAnimation : 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