The top property (number) specifies the Y position of the modal dialog in pixels.
Declaration
DayPilot.Modal.topDefault Value
20Notes
Use this property together with DayPilot.Modal.left to position the dialog explicitly.
Example
const modal = new DayPilot.Modal({
top: 40,
left: 20,
// ...
});
modal.showUrl("/dialog.html");See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot