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.widthDefault Value
nullExamples
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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot