DayPilot.Calendar.onAfterEventRender

The onAfterEventRender event can be used to access the event DOM element after it has been rendered by the JavaScript Calendar.

The most common use case is adding custom event handlers to the event div.

Do not modify the visible content using this event - that could cause performance issues. To modify the event HTML, you can use onBeforeEventRender event.

Declaration

DayPilot.Calendar.onAfterEventRender(args)

Parameters

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

  • args.div - event <div> element (it's the top-level element marked with *_event CSS class)