Notifier

Unobtrusive notification messages can be used to give feedback to users.
Looking for a commercial license ? Keep your source code proprietary and Buy a Commercial License Today!

setContent ( content ) chainable


Description: Sets the notification message contents

Parameters:

@content {String or DOMElement} The notification message content

 var duration = 10;
 var msg = alertify.message('Auto-dismiss in '+ duration +' seconds.', 10, function(){ clearInterval(interval);});
 var interval = setInterval(function(){
    msg.setContent('Auto-dismiss in '+(--duration)+' seconds.');
 },1000);