DayPilot.Queue.onEventRightClicked

The onEventRightClicked event handler fires after the default event right-click action configured by eventRightClickHandling has been performed.

Declaration

DayPilot.Queue.onEventRightClicked(args)

Parameters

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

DayPilot.Queue Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript