Changing message duration depending on the message "type"
Asked by Naomi 6 years ago.
Hi,
We're using DayPilot message to display messages. I found there is a global setting messageHideAfter but I'd like more granular support if possible. I need to set duration for error messages to be shown longer than "success" type of messages.
What is funny, that the first reference is to my own message and I asked that same question 6 months ago (and of course, completely forgot about it since then). Today I was showing a demo to my colleague and saw the necessity of this feature again.
Answer posted by Dan Letecky [DayPilot] 6 years ago.
Yes, this is possible. You can specify the delay using the "options" parameter of the message() method: