Docs

Blog

Gallery

Resources

Learn

Components

API Reference

Onboarding

Api-reference

/

Eventhandler

reflex.event.EventHandler

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

FieldDescription
FieldDescription
fn The function to call in response to the event.
SignatureDescription
Config()The Pydantic config.
__call__(self, *args: 'Var') -> 'EventSpec'Pass arguments to the handler to get an event spec. This method configures event handlers that take in arguments.

Did you find this useful?

HomeGalleryChangelogIntroductionHosting