The tapAndHoldTimeout property (number) sets the timeout, in milliseconds, before the default tap-and-hold gesture action is activated in the JavaScript Scheduler.
Declaration
DayPilot.Scheduler.tapAndHoldTimeoutDefault Value
300Notes
It is used when starting time range selecting using a tap-and-hold gesture on the grid.
It is used when starting event moving mode using a tap-and-hold gesture on the event box.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
tapAndHoldTimeout: 200,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
tapAndHoldTimeout: 200,
// ...
};React
<DayPilotScheduler
tapAndHoldTimeout={200}
{/* ... */}
/>Vue
<DayPilotScheduler
:tapAndHoldTimeout="200"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot