DayPilot.Modal.left

The left property (number) specifies the horizontal position of the modal dialog from the left edge in pixels. If not specified, the modal dialog is centered.

Declaration

DayPilot.Modal.left

Default Value

null

Notes

Use this property together with DayPilot.Modal.top to position the dialog explicitly.

Example

const modal = new DayPilot.Modal({
  left: 40,
  top: 20,
  // ...
});
modal.showUrl("/dialog.html");

See Also

DayPilot.Modal.top

DayPilot.Modal Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript