DayPilot.Calendar.allDayEventTextWrappingEnabled

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.allDayEventTextWrappingEnabled

Default Value

false

Examples

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

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript