DayPilot.Month.width

The width property (string) sets the Monthly calendar control width using CSS format. When set to null, the control uses the default display: block style associated with the top-level <div> element.

Declaration

DayPilot.Month.width

Default Value

null

Examples

JavaScript

const month = new DayPilot.Month("dp", {
  width: "70%",
  // ...
});
month.init();

Angular

<daypilot-month [config]="config"></daypilot-month>
config: DayPilot.MonthConfig = {
  width: "70%",
  // ...
};

React

<DayPilotMonth
  width="70%"
  {/* ... */}
/>

Vue

<DayPilotMonth
  width="70%"
  <!-- ... -->
/>

See Also

DayPilot.Month Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript