matowens / ng-notify

A simple, lightweight module for displaying notifications in your AngularJS app.

Home Page:http://matowens.github.io/ng-notify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Callback after notify fadeout

qoshi opened this issue · comments

commented

I want to do something after the notify fadeout but after I read the code I could hardly find out a way to do so. So, will u do that?

commented

Do you mind showing me an example of what you're looking to do in your code? Perhaps something like this?

var callback = function() { 
    console.log('do this after fading'; 
};

ngNotify.set('My message.', [], callback);
commented

Also, just curious, what sort of thing were you wanting to do after displaying the error?