For AI agents: the complete documentation index is at llms.txt. Markdown versions are available by appending .md or sending Accept: text/markdown.
Reflex Logo
Docs Logo
Api Reference

/

Eventhandler

Eventhandler

reflex_base.event.EventHandler

An event handler responds to an event to update the state.

Attributes: fn: The function to call in response to the event. state: The state this EventHandler is directly attached to, if any.

Fields

PropDescription
event_actions: dict[str, bool | int] = <class 'dict'>
fn: Any = None

The function to call in response to the event.

state: type[<property object at 0x7f47ebac5f80>] | None = None

The state this EventHandler is directly attached to, if any.

Methods

SignatureDescription
get_parameters(self) -> collections.abc.Mapping[str, inspect.Parameter]Get the parameters of the function.
Built with Reflex