Search
Animation Constructor
See Also
 






Initializes a new instance of the Animation class.

Namespace: MindFusion.Animations
File: Animation.js

 Syntax

JavaScript  Copy Code

function Animation (item, [options, [onUpdateCallback, [onCustomFunctionCallback]]])

 Parameters

item

The diagram item to animate.

options
Optional.

An object used to specify various property values for the animation.

onUpdateCallback
Optional.

A callback function called on every animation tick.

onCustomFunctionCallback
Optional.

A callback function called when the animation type is set to Custom.

 See Also