Search
BounceAnimation Class
Remarks See Also
 






Animates vertical position of nodes.

Namespace: MindFusion.Diagramming.Animations
File: BounceAnimation.js

 Syntax

JavaScript  Copy Code

// class
BounceAnimation.prototype = {}

 Remarks

Call item's animate method to run an animation.

 Example

JavaScript  Copy Code
node.animate(
    new BounceAnimation(
        {
            fromValue: 0,
            toValue: -5,
            duration: 250,
            repeat: true,
            repeatCount: 4,
            reverse: true,
            animationType: Animations.AnimationType.BackBow
        }));

 Inheritance Hierarchy

MindFusion.Animations.Animation
    MindFusion.Diagramming.Animations.ItemAnimation
        MindFusion.Diagramming.Animations.BounceAnimation

 See Also