SchedulerEventClickEvent
Event arguments provided when a scheduler event is clicked or tapped on mobile devices. Contains the complete event data and DOM reference for custom interaction handling and event manipulation. Enables developers to trigger custom workflows or prevent default event editing behaviors.
Props
The following table outlines the props for the SchedulerEventClickEvent:
| Name | Type | Default | Description |
|---|---|---|---|
| cancel | boolean | - | Set to true to cancel the default event click behavior (e.g., preventing auto-opening the event editor). Allows custom handling of event clicks without triggering default actions. |
| data | Record<string, any> | - | The complete event data object containing all event properties, custom fields, and metadata. Provides full context for event manipulation and custom workflow logic. |
| element | HTMLElement | - | The DOM element of the clicked event, enabling direct styling, inspection, or parent element access. Useful for custom styling or element manipulation. |
| event | MouseEvent | - | The native React MouseEvent triggered by clicking the event element. Provides access to browser event properties, coordinates, and interaction details. |