MCPcopy Create free account
hub / github.com/python-visualization/folium / leaflet_method

Function leaflet_method

folium/elements.py:16–21  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

14
15
16def leaflet_method(fn):
17 @wraps(fn)
18 def inner(self, *args, **kwargs):
19 self.add_child(MethodCall(self, fn.__name__, *args, **kwargs))
20
21 return inner
22
23
24class JSCSSMixin(MacroElement):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…