DayPilot.Month.eventTextWrappingEnabled

The eventTextWrappingEnabled property (boolean) enables event text wrapping in the JavaScript Monthly Calendar component.

Available since version 2022.3.5416.

Declaration

DayPilot.Month.eventTextWrappingEnabled

Default Value

false

Notes

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

DayPilot.Month Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript