The loadingHtml property (string) specifies HTML displayed in the modal dialog before the target URL loads when using DayPilot.Modal.showUrl().

Declaration

DayPilot.Modal.loadingHtml

Default Value

null

Notes

This temporary content is shown only while the page requested by DayPilot.Modal.showUrl() is loading.

Example

const modal = new DayPilot.Modal({
  loadingHtml: "<div>Loading...</div>",
  // ...
});
modal.showUrl("/dialog.html");

See Also

DayPilot.Modal.showUrl()

DayPilot.Modal Class

Availability

Availability of this API item in DayPilot editions:

ProductLitePro
DayPilot for JavaScript