DayPilot.Scheduler.onEventResized

Fires after the default action (eventResizeHandling) has been executed. api=2 only.

Declaration

onEventResized(args)

Parameters

  • args.areaData - value of the data property of the active area that was used as drag handle (available since 2023.4.5811)

  • args.e - event object (DayPilot.Event)

  • args.newStart - new event start (DayPilot.Date)

  • args.newEnd - new event end (DayPilot.Date)

  • args.multiresize - array of additional events that were resized (see multi-resizing)

  • args.what - what was resized ("start" | "end") - since 2019.2.3823

Example

    dp.onEventResized = function (args) {
        dp.message("Resized: " + args.e.text());
    };