Intro
Gallery
Hosting
Components
Learn
Recipes
API Reference
Getting Started
Installation
Introduction
Project Structure
Configuration
How Reflex Works
Tutorial
Setup
Frontend
Adding State
Final App
Props
Style Props
Conditional Props
Conditional Rendering
Rendering Iterables
Library
Pages
Routes
Dynamic Routing
Metadata
Styling
Overview
Theming
Responsive
Custom Stylesheets
Layout
Common Props
Assets
Referencing Assets
Upload And Download Files
Wrapping React
Guide
Example
Custom Components
Prerequisites For Publishing
Command Reference
Vars
Base Vars
Computed Vars
Var Operations
Custom Vars
Events
Events Overview
Event Arguments
Setters
Yield Events
Chaining Events
Special Events
Page Load Events
Background Events
Event Actions
Substates
Component State
API Routes
Client Storage
Database
Tables
Queries
Relationships
Authentication
Authentication Overview
Utility Methods
Router Attributes
Lifespan Tasks
Other Methods
Reflex Deploy
Deploy Quick Start
Hosting CLI Commands
Self Hosting
Api-reference
/
Eventspec
reflex.event.EventSpec
An event specification.
Whereas an Event object is passed during runtime, a spec is used during compile time to outline the structure of an event.
handler: EventHandler
The event handler.
client_handler_name: str
The handler on the client to process event.
args: Tuple
The arguments to pass to the function.
with_args(self, args: 'Tuple[Tuple[Var, Var], ...]') -> 'EventSpec'
add_args(self, *args: 'Var') -> 'EventSpec'
Did you find this useful?