✨ Announcing our seed funding led by Lux Capital! Read more about it on our blog
DocsBlogChangelog

Search documentation...

/

Star

12k+

[ Learn ]

[ Concepts ]

[ Reference ]

Eventhandler


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

Class Fields


FieldDescription

Fields


FieldDescription
fn The function to call in response to the event.

Methods


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.
← EventEventSpec →

Copyright © 2023 Pynecone, Inc.