Search
DiagramView.replay Method
See Also
 






Replays a sequence of recorded mouse and keyboard events created by record and stopRecording methods.

Namespace: MindFusion.Diagramming
File: DiagramView.js

 Syntax

JavaScript  Copy Code

function replay (recording, timer, [savedState, [timerInterval]])

 Parameters

recording

Array. An array of event records returned by stopRecording.

timer

Boolean. true to replay records using a timer, preserving their original relative timing, or false to replay them immediately.

savedState
Optional.

String. A diagram JSON string that should be loaded before replaying recorded events.

timerInterval
Optional.

Number. A number of milliseconds to use as a constant interval instead of relative timing.

 See Also