jQuery iosnotice Plugin Examples

Examples

The following all have a two second duration:

 

It's possible to update a notification when it's already been added:

Methods

Method Description/Use
hide Call this to begin the hide animation.
  // notification is called
  var notification = ...;

  // something happens

  // fade out notification and destroy on complete
  notification.hide();
update Used to update the contents of a notification on the fly. Accepts text and icon in formats as table above denotes. Accepts one or both.
  // notification is called
  var notification = ...;

  // something happens

  // notification is updated
  notification.update({
    text: "Success!",
    icon: "img/smiley.png"
  });