MCPcopy Index your code
hub / github.com/python-visualization/folium / __init__

Method __init__

folium/elements.py:137–142  ·  view source on GitHub ↗
(self, event: str, handler: JsCode, once: bool = False)

Source from the content-addressed store, hash-verified

135 )
136
137 def __init__(self, event: str, handler: JsCode, once: bool = False):
138 super().__init__()
139 self._name = "EventHandler"
140 self.event = event
141 self.handler = handler
142 self.method = "once" if once else "on"
143
144
145class ElementAddToElement(MacroElement):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected