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

/

Event

Event

reflex_base.event.Event

An event that describes any state change in the app.

Attributes: name: The event name. router_data: The routing data where event occurred. payload: The event payload.

Fields

PropDescription
name: str

The event name.

router_data: dict[str, typing.Any] = <class 'dict'>

The routing data where event occurred.

payload: dict[str, typing.Any] = <class 'dict'>

The event payload.

Methods

SignatureDescription
from_event_type(cls, events: 'IndividualEventType | list[IndividualEventType] | None', *, router_data: dict[str, typing.Any] | None = None) -> 'list[Event]'Create a list of Events from event-like objects.
Built with Reflex