DayPilot.Month.onEventResized

The onEventResized event handler fires after the default action configured by DayPilot.Month.eventResizeHandling has been executed. It is available in DayPilot.Month.api = 2 only.

Declaration

DayPilot.Month.onEventResized(args)

Parameters

Examples

JavaScript

const month = new DayPilot.Month("dp", {
  onEventResized: (args) => {
    args.control.message("Event resized: " + args.e.text());
  },
  // ...
});
month.init();

Angular

<daypilot-month [config]="config"></daypilot-month>
config: DayPilot.MonthConfig = {
  onEventResized: (args) => {
    args.control.message("Event resized: " + args.e.text());
  },
  // ...
};

React

<DayPilotMonth
  onEventResized={onEventResized}
  {/* ... */}
/>
const onEventResized = (args) => {
  args.control.message("Event resized: " + args.e.text());
};

Vue

<DayPilotMonth
  @eventResized="onEventResized"
  <!-- ... -->
/>
const onEventResized = (args) => {
  args.control.message("Event resized: " + args.e.text());
};

See Also

Event Resizing [doc.daypilot.org]

DayPilot.Month.eventResizeHandling

DayPilot.Month.api

DayPilot.Month Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript