DayPilot.Calendar.onTimeRangeDoubleClicked

The onTimeRangeDoubleClicked event handler fires in the JavaScript Calendar when a user double-clicks an existing time range, after the default action.

Declaration

DayPilot.Calendar.onTimeRangeDoubleClicked(args)

Parameters

Notes

Use DayPilot.Calendar.onTimeRangeDoubleClick for the companion callback that runs before the default action.

Example

const dp = new DayPilot.Calendar("dp", {
  onTimeRangeDoubleClicked: (args) => {
    dp.message("Range starts at " + args.start);
  },
  // ...
});
dp.init();

See Also

DayPilot.Calendar.onTimeRangeDoubleClick

DayPilot.Calendar Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript