The message() method shows a message using the integrated message bar.
DayPilot.Scheduler.message(text, options)text (string) - message text or HTML content
options (object) - additional options
The options object supports the following properties:
delay (number) - visible duration in milliseconds
cssClass (string) - CSS class to be used for this message
rawHtml (boolean) - renders text without escaping; available since 2020.4.4701
The delay option overrides the default message timeout configured using messageHideAfter.
This call will display a message for 5 seconds:
dp.message("Welcome!", { delay: 5000 });Displaying a message with a custom CSS class:
dp.message("Welcome!", { cssClass: "msg" });DayPilot.Scheduler.messageHideAfter
Message Bar [doc.daypilot.org]