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

The duration of the animation in milliseconds.

Default: 200

Syntax
var instance; // Type: wijmo.tree.wijtree_animation;
var value; // Type: number
value = instance.duration;
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

See Also

Reference

wijtree_animation Interface
effect
easing

Concepts

Animation