Animates items' opacity for fade-in and fade-out effects.
Namespace: MindFusion.Diagramming.Animations
File: OpacityAnimation.js
JavaScript Copy Code |
---|
// class |
Call item's animate method to run an animation.
JavaScript Copy Code |
---|
node.animate( new OpacityAnimation( { fromValue: 1, toValue: 0.5, duration: 250, repeat: true, repeatCount: 4, reverse: true, animationType: Animations.AnimationType.BackBow })); |
MindFusion.Animations.Animation
MindFusion.Diagramming.Animations.ItemAnimation
MindFusion.Diagramming.Animations.OpacityAnimation