The eventTextWrappingEnabled property (boolean) enables event text wrapping in the JavaScript Monthly Calendar component.
Available since version 2022.3.5416.
Declaration
DayPilot.Month.eventTextWrappingEnabledDefault Value
falseNotes
When the value is set to false, the monthly calendar adds white-space: nowrap style to the event DOM element.
Examples
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"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot