SVGAnimationElement: endElement() method - Web APIs | MDN
Syntax
Parameters
None.
Return value
None
Examples
This example demonstrates how to use endElement() to end an animation element:
js
const animationElement = document.querySelector("animate");
animationElement.endElement();
console.log("Animation has ended.");
Specifications
| Specification |
|---|
| SVG Animations Level 2 # __svg__SVGAnimationElement__endElement |