The loadingLabelHtml property (string) defines the HTML of the loading indicator.
Declaration
DayPilot.Scheduler.loadingLabelHtmlDefault Value
nullNotes
This value is treated as raw HTML and is not HTML-encoded. See XSS protection for security considerations.
To have the loading label encoded automatically, use DayPilot.Scheduler.loadingLabelText instead.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
loadingLabelHtml: "<img src='wait.png' />",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
loadingLabelHtml: "<img src='wait.png' />",
// ...
};React
<DayPilotScheduler
loadingLabelHtml={"<img src='wait.png' />"}
{/* ... */}
/>Vue
<DayPilotScheduler
loadingLabelHtml="<img src='wait.png' />"
<!-- ... -->
/>See Also
XSS Protection [doc.daypilot.org]
DayPilot.Scheduler.loadingLabelText
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot