DayPilot.Calendar.message

Shows a message using the integrated message bar.

Declaration

message(html, delay, foreColor, backColor)

Parameters

  • html (string) - HTML of the message
  • delay (int) - the number of milliseconds for which the message will be visible
  • foreColor (string) - color of the message text
  • backColor (string) - color of the message bar

Example

This call will display a message for 5 seconds:

dpc.message("Welcome!", 5000, "#fff", "#dc143c");

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java