The allDayEventTextWrappingEnabled property (boolean) enables text wrapping for all-day events in the JavaScript Calendar component.
When the value is set to false, the Calendar adds white-space: nowrap style to the all-day event DOM element.
Available since version 2022.3.5416.
DayPilot.Calendar.allDayEventTextWrappingEnabledfalseJavaScript
const calendar = new DayPilot.Calendar("dp", {
allDayEventTextWrappingEnabled: true,
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
allDayEventTextWrappingEnabled: true,
// ...
};React
<DayPilotCalendar
allDayEventTextWrappingEnabled={true}
{/* ... */}
/>Vue
<DayPilotCalendar
:allDayEventTextWrappingEnabled="true"
<!-- ... -->
/>All-Day Events [doc.daypilot.org]