The eventTapAndHoldHandling property (string) specifies the action assigned to the tap-and-hold gesture on Scheduler events on touch devices in the JavaScript Scheduler.
Declaration
DayPilot.Scheduler.eventTapAndHoldHandlingPossible Values
"Move"- starts drag-and-drop event moving."ContextMenu"- opens the event context menu.
Default Value
"Move"Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
eventTapAndHoldHandling: "ContextMenu",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
eventTapAndHoldHandling: "ContextMenu",
// ...
};React
<DayPilotScheduler
eventTapAndHoldHandling="ContextMenu"
{/* ... */}
/>Vue
<DayPilotScheduler
eventTapAndHoldHandling="ContextMenu"
<!-- ... -->
/>See Also
Event Moving [doc.daypilot.org]
Event Context Menu [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot