The onEventRightClicked event handler fires after the default event right-click action configured by eventRightClickHandling has been performed.
Declaration
DayPilot.Queue.onEventRightClicked(args)Parameters
args.e(DayPilot.Event) - the event reference
Notes
Use eventRightClickHandling to change or disable the built-in action that runs before this handler.
Examples
JavaScript
const queue = new DayPilot.Queue("dp", {
onEventRightClicked: (args) => {
DayPilot.Modal.alert(args.e.text());
},
// ...
});
queue.init();Angular
<daypilot-queue [config]="config"></daypilot-queue>config: DayPilot.QueueConfig = {
onEventRightClicked: (args) => {
DayPilot.Modal.alert(args.e.text());
},
// ...
};React
<DayPilotQueue
onEventRightClicked={onEventRightClicked}
{/* ... */}
/>const onEventRightClicked = (args) => {
DayPilot.Modal.alert(args.e.text());
};Vue
<DayPilotQueue
@eventRightClicked="onEventRightClicked"
<!-- ... -->
/>const onEventRightClicked = (args) => {
DayPilot.Modal.alert(args.e.text());
};See Also
DayPilot.Queue.onEventRightClick
DayPilot.Queue.eventRightClickHandling
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot