DayPilot.Modal.width

The width property (number) specifies the width of the modal dialog in pixels.

Declaration

DayPilot.Modal.width

Default Value

300

Example

const modal = new DayPilot.Modal({
  width: 600
});

modal.showHtml("Hello, world!");

See Also

DayPilot.Modal.height

DayPilot.Modal.showHtml()

DayPilot.Modal Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript