The loadingLabelHtml property (string) defines the HTML of the loading indicator.
DayPilot.Scheduler.loadingLabelHtmlnullThis 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.
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' />"
<!-- ... -->
/>XSS Protection [doc.daypilot.org]