nearest_viewport_element property

nearest_viewport_element property

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

Definition:

@property
def nearest_viewport_element(self):
    ...

See Also