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