viewportElement

open external val viewportElement: SVGElement?(source)

The viewportElement read-only property of the SVGElement interface represents the SVGElement which established the current viewport. Often the nearest ancestor element. null if the given element is the outermost element.

MDN Reference