viewport_element property

viewport_element property

The element which established the current viewport. Often, the nearest ancestor ‘svg’ element. Null if the given element is the outermost svg element.

Definition:

@property
def viewport_element(self):
    ...

See Also