reflex
reflex copied to clipboard
Get `action`, `cancel`, `on_dismiss` and `on_auto_close` working for rx.toast
Handle callbacks into reflex event handlers.
Respect defaults set in ToastProvider toast_options when firing a toast with it's own ToastProps set.
Create new reflex.utils.format.format_queue_events
helper method that can be used to take arbitrary eventhandler/eventspec/lambda along with an args spec, and create a callback function for use with rx.call_script
-based APIs.
@Lendemor idk if you want to take this into your branch (it has a refresh from origin/main
); or if you just want to take your PR into main
and then i can rebase this one and bring it into main
separately.
@Lendemor idk if you want to take this into your branch (it has a refresh from
origin/main
); or if you just want to take your PR intomain
and then i can rebase this one and bring it intomain
separately.
I'm fine with both, let's just go with whatever is more convenient.