Replays a sequence of recorded mouse and keyboard events created by record and stopRecording methods.
Namespace: MindFusion.Diagramming
File: DiagramView.js
JavaScript Copy Code |
---|
function replay (recording, timer, [savedState, [timerInterval]]) |
Array. An array of event records returned by stopRecording.
Boolean. true to replay records using a timer, preserving their original relative timing, or false to replay them immediately.
String. A diagram JSON string that should be loaded before replaying recorded events.
Number. A number of milliseconds to use as a constant interval instead of relative timing.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |