We're using the Day Pilot message to communicate some information to the user using its default Yellow color. I'm wondering what should I do if I need to show error messages in certain cases? We currently are using Toastr, but I'd like the interface to be consistent and use Day Pilot messages instead.
Thanks a lot, Dan. Right after I posted this message my colleague posted the implementation using the 3rd method. I like it as I think it gives the most flexibility. It would be nice to see it in documentation too, because I spent some time trying to find it in the documentation first before posting.
Comment posted by Naomi 7 years ago.
Can I apply both cssClass and also longer timeout?
Comment posted by Naomi 7 years ago.
In other words, I can see I can use this https://api.daypilot.org/daypilot-scheduler-messagehideafter/ but I only want to alter the timeout for error messages. It would be nice to be able to specify one extra parameter (in addition to the class) in the message method for timeout.
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.