MCPcopy Index your code
hub / github.com/reactive-python/reactpy / on_click

Function on_click

src/py/reactpy/tests/test_testing.py:199–200  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

197 count = Ref(0)
198
199 async def on_click(event):
200 mount(make_next_count_constructor(count))
201
202 incr = html.button({"on_click": on_click, "id": "incr-button"}, "incr")
203

Callers

nothing calls this directly

Calls 2

mountFunction · 0.85

Tested by

no test coverage detected