pauseAnimations method
Pauses all currently running animations that are defined within the SVG document fragment that corresponds to this svg element.
![]() ![]() |
Syntax
var retval = SVGSVGElement.pauseAnimations();Parameters
This method has no parameters.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Standards information
- Scalable Vector Graphics: Document Structure, Section 5.11.2
Remarks
Because the pauseAnimations method pauses all running animations, the animation clock that corresponds to this document fragment is also paused.
See also
Show:

