Detect if Jquery Noty notification has been closed -


is there way detect if jquery noty notification has been closed using jquery itself?

i have noty notification on homepage. detect when notification has been closed. can this?

noty:

var n = noty({   layout: 'topcenter',   theme: 'relax',   type: 'information',   force: false,   text: 'this 1 worked',   animation: {     open: 'animated zoomin', // animate.css class names     close: 'animated zoomout', // animate.css class names   } }); 

there method called 'callback' in noty. how used detect on close:

var n = noty({   layout: 'topcenter',   theme: 'relax',   type: 'information',   force: false,   text: 'this 1 worked',   animation: {     open: 'animated zoomin', // animate.css class names     close: 'animated zoomout', // animate.css class names   },   callback: {     onclose: function() {       cookies.set('shownoty', false);     },   }, }); 

Comments

Popular posts from this blog

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -