endElement

The SVGAnimationElement method endElement() creates an end instance time for the current time.

MDN Reference