MCPcopy Index your code
hub / github.com/pyscript/pyscript / parent

Method parent

core/src/stdlib/pyscript/web.py:632–638  ·  view source on GitHub ↗

Return this element's parent `Element`, or `None`.

(self)

Source from the content-addressed store, hash-verified

630
631 @property
632 def parent(self):
633 """
634 Return this element's parent `Element`, or `None`.
635 """
636 if is_none(self._dom_element.parentElement):
637 return None
638 return Element.wrap_dom_element(self._dom_element.parentElement)
639
640 def append(self, *items):
641 """

Callers

nothing calls this directly

Calls 2

is_noneFunction · 0.90
wrap_dom_elementMethod · 0.80

Tested by

no test coverage detected