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

Method __init__

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

Initialise the CSS Classes set for the given element.

(self, element)

Source from the content-addressed store, hash-verified

744 """
745
746 def __init__(self, element):
747 """
748 Initialise the CSS Classes set for the given element.
749 """
750 self._class_list = element._dom_element.classList
751 super().__init__(self._class_list)
752
753 def _extract_class_names(self, class_name):
754 """

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected