Skip to content

Files

Latest commit

825cd86 · Feb 24, 2015

History

History
28 lines (24 loc) · 725 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 725 Bytes

growler-widget-js

Growl notifications widget for the js api. demo page

var growler = new Growler({}, "growlerDijit");
growler.startup();

growler.growl({
 title: "Warning!",
 message: "Best check yo self, you're not looking too good.",
 level: "warning"
});

Available growl params:

{
  title: "Title",
  message: "Message",
  level: "default", //can be: 'default', 'warning', 'info', 'error', 'success', if empty will be 'default'
  timeout: 10000, //set to 0 for no timeout
  opacity: 1.0,
}

Screen from Sample page:

Screenshot