DayPilot.Scheduler.eventResizeMargin

The eventResizeMargin property (number) sets the width of the drag handle that allows resizing an event by dragging in the JavaScript Scheduler component (in pixels).

Declaration

DayPilot.Scheduler.eventResizeMargin

Default Value

5

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  eventResizeMargin: 10,
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  eventResizeMargin: 10,
  // ...
};

React

<DayPilotScheduler
  eventResizeMargin={10}
  {/* ... */}
/>

Vue

<DayPilotScheduler
  :eventResizeMargin="10"
  <!-- ... -->
/>

See Also

DayPilot.Scheduler.eventResizeHandling

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript