ownerSVGElement

open external val ownerSVGElement: SVGSVGElement?(source)

The ownerSVGElement read-only property of the SVGElement interface reflects the nearest ancestor element. null if the given element is the outermost element.

MDN Reference