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.
Declaration
DayPilot.Calendar.allDayEventTextWrappingEnabledDefault Value
falseExamples
JavaScript
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"
<!-- ... -->
/>See Also
All-Day Events [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot