The eventTextWrappingEnabled property (boolean) enables event text wrapping in the JavaScript Monthly Calendar component.
Available since version 2022.3.5416.
DayPilot.Month.eventTextWrappingEnabledfalseWhen the value is set to false, the monthly calendar adds white-space: nowrap style to the event DOM element.
JavaScript
const dp = new DayPilot.Month("dp", {
eventTextWrappingEnabled: true,
// ...
});
dp.init();Angular
<daypilot-month [config]="config"></daypilot-month>config: DayPilot.MonthConfig = {
eventTextWrappingEnabled: true,
// ...
};React
<DayPilotMonth
eventTextWrappingEnabled={true}
{/* ... */}
/>Vue
<DayPilotMonth
:eventTextWrappingEnabled="true"
<!-- ... -->
/>