DayPilot.Scheduler.loadingLabelHtml

The loadingLabelHtml property (string) defines the HTML of the loading indicator.

Declaration

DayPilot.Scheduler.loadingLabelHtml

Default Value

null

Notes

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

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript