Skip to content

Individual lifeTime for messages

Compare
Choose a tag to compare
@nivekcode nivekcode released this 26 Dec 16:00
· 71 commits to develop since this release
f98eb6b

In this release we have extended the API in a way that you are now able to create unique lifetimes for your messages. Use the following functions to create a message with a indivual lifetime that can differ from the default lifetime:

  • createTimedSuccessMessage
  • createTimedInfoMessage
  • createTimedWarningMessage
  • createTimedErrorMessage

Special thanks goes to @sebaiona who brought up this feature with the Issue #154.

I have created a blogpost that describes one use case that you could realize with this feature. Go ahead an read the blogpost under: https://medium.com/@kevinkreuzer/primeng-advanced-growl-make-sure-your-users-see-the-errors-6988f722fb8f