The afterEventRender event handler fires after an event is rendered and provides access to the rendered event <div> element.
This is a legacy event handler. Use onAfterEventRender instead.
afterEventRender(e, div)e (DayPilot.Event) - the event reference
div (object) - reference to the event <div> element
api=1 only.
const month = new DayPilot.Month("dp", {
afterEventRender: (e, div) => {
div.style.fontWeight = "bold";
},
// ...
});
month.init();