Wijmo UI for the Web
duration Field

The duration of the animation in milliseconds.

Default: 200

Syntax
Javascript (Usage) 
var instance; // Type: wijmo.tree.wijtree_animation;
var value; // Type: number
value = instance.duration;
Javascript (Specification) 
var duration : number;
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
effect
easing
collapseAnimation Option
expandAnimation Option

Concepts

Animation

 

 


© 2013 All Rights Reserved.

Send comments on this topic.