DayPilot.Month.theme

The theme property (string) sets the calendar CSS theme.

Declaration

DayPilot.Month.theme

Default Value

"month_default"

Examples

JavaScript

const dp = new DayPilot.Month("dp", {
  theme: "month_white",
  // ...
});
dp.init();

Angular

<daypilot-month [config]="config"></daypilot-month>
config: DayPilot.MonthConfig = {
  theme: "month_white",
  // ...
};

React

<DayPilotMonth
  theme="month_white"
  {/* ... */}
/>

Vue

<DayPilotMonth
  theme="month_white"
  <!-- ... -->
/>

See Also

CSS Themes [doc.daypilot.org]

DayPilot.Month Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript