reflex/reflex
Masen Furer 56476d0a86
Expose DOM event actions on EventHandler, EventSpec, and EventChain (stopPropagation) (#1891)
* Expose preventDefault and stopPropagation for DOM events

All EventHandler, EventSpec, and EventChain can now carry these extra
"event_actions" that will be applied inside the frontend code when an event is
triggered from the DOM.

Fix #1621
Fix REF-675

* Test cases (and fixes) for "event_actions"

* form: from __future__ import annotations

for py38, py39 compat

* Revert overzealous merge conflict resolution
2023-10-31 11:42:42 -07:00
..
.templates Expose DOM event actions on EventHandler, EventSpec, and EventChain (stopPropagation) (#1891) 2023-10-31 11:42:42 -07:00
compiler Remove Default state (#1978) 2023-10-18 09:57:27 -07:00
components Expose DOM event actions on EventHandler, EventSpec, and EventChain (stopPropagation) (#1891) 2023-10-31 11:42:42 -07:00
constants Update base template (#2027) 2023-10-26 17:59:14 -07:00
el code cleanup (split constants into a folder) (#1866) 2023-09-28 17:27:20 -07:00
middleware code cleanup (split constants into a folder) (#1866) 2023-09-28 17:27:20 -07:00
utils Expose DOM event actions on EventHandler, EventSpec, and EventChain (stopPropagation) (#1891) 2023-10-31 11:42:42 -07:00
__init__.py Expose DOM event actions on EventHandler, EventSpec, and EventChain (stopPropagation) (#1891) 2023-10-31 11:42:42 -07:00
__main__.py add __main__ entry point to allow python -m reflex (#1516) 2023-08-03 14:26:50 -07:00
admin.py Allow view overrides for registering models with admin (#1249) 2023-06-27 14:08:09 -07:00
app.py fix onload method not working in prod mode (#2049) 2023-10-27 08:43:02 -07:00
app.pyi Remove Default state (#1978) 2023-10-18 09:57:27 -07:00
base.py fix serialization as a whole for list/dict/Base containing custom items to serialize (#1984) 2023-10-17 10:44:54 -07:00
config.py CLI switch to prod server (#2016) 2023-10-24 09:43:20 -07:00
config.pyi CLI switch to prod server (#2016) 2023-10-24 09:43:20 -07:00
event.py Expose DOM event actions on EventHandler, EventSpec, and EventChain (stopPropagation) (#1891) 2023-10-31 11:42:42 -07:00
model.py Improve Var type handling for better rx.Model attribute access (#2010) 2023-10-25 11:55:50 -07:00
page.py Update base template (#2027) 2023-10-26 17:59:14 -07:00
reflex.py Update demo command to open demo.reflex.run (#2059) 2023-10-27 13:16:02 -07:00
route.py Remove deprecated route decorator (#1815) 2023-09-14 10:29:29 -07:00
state.py Improve Var type handling for better rx.Model attribute access (#2010) 2023-10-25 11:55:50 -07:00
style.py Var field cleanup (#1943) 2023-10-13 14:53:55 -07:00
testing.py Add CLI demo command (#2044) 2023-10-26 20:24:19 -07:00
vars.py Improve Var type handling for better rx.Model attribute access (#2010) 2023-10-25 11:55:50 -07:00
vars.pyi Var field cleanup (#1943) 2023-10-13 14:53:55 -07:00