Wijmo UI for the Web
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
Javascript (Usage) 
var instance; // Type: wijmo.tree.wijtree_animation;
var value; // Type: string
value = instance.effect;
Javascript (Specification) 
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

Browser Compatibility
7
5
5

See Also

Reference

wijtree_animation Interface
duration
easing
collapseAnimation Option
expandAnimation Option

Concepts

Animation

 

 


© 2013 All Rights Reserved.

Send comments on this topic.