Wijmo UI for the Web
effect Field
wijmo.tree Namespace > wijtree_animation Interface : effect Field

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

Default: "blind"

Syntax
var instance; // Type: wijmo.tree.wijtree_animation;
var value; // Type: string
value = instance.effect;
var effect : string;
Example
<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>
Remarks

See Also

Reference

wijtree_animation Interface
duration
easing

Concepts

Animation