The onEventDoubleClicked event handler fires after an event has been double-clicked and the default action has completed.
DayPilot.Calendar.onEventDoubleClicked(args)
args.e (DayPilot.Event) - the event reference
const calendar = new DayPilot.Calendar("dp", {
onEventDoubleClicked: args => {
DayPilot.Modal.alert("Event double-clicked: " + args.e.text());
},
// ...
});
calendar.init();
<daypilot-calendar [config]="config"></daypilot-calendar>
config: DayPilot.CalendarConfig = {
onEventDoubleClicked: args => {
DayPilot.Modal.alert("Event double-clicked: " + args.e.text());
},
// ...
};
<DayPilotCalendar
onEventDoubleClicked={args => {
DayPilot.Modal.alert("Event double-clicked: " + args.e.text());
}}
{/* ... */}
/>
<DayPilotCalendar @eventDoubleClicked="onEventDoubleClicked" <!-- ... --> />
const onEventDoubleClicked = args => {
DayPilot.Modal.alert("Event double-clicked: " + args.e.text());
};