animations

animations.stopAll

stopAll(type?: AnimationType): void

Stop all active animation effects, or only those of a given type.

Not undoable. Not recorded in history.

typeAnimationTypeOptional AnimationType to restrict the stop to one effect family. Omit to stop every active effect across all types.

Returns: void

Example

api.animations.stopAll("nodeRipple"); // stop only ripples
api.animations.stopAll();             // stop everything