Skip to content

Conversation

fetrarij
Copy link

Add ability to set the notification duration and the persistence.

This is just a fix from #8 (thanks to @pdf)

Usage:

$notification.info(title, content, userData, duration);

Duration is optional (milliseconds): It allows you to set how long the notification is shown. Put 0 orfalse if you want a persistent notification. If not given it take the value in the setting .

Thanks!

rike422 added a commit to rike422/angular-notifications that referenced this pull request May 16, 2014
add ability to set the notification duration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant