Skip to content

ThatGuyHughesy/announce

Repository files navigation

Announce

Growl-inspired alerts and message.

Development

Install Dependencies

npm

$ npm install

bower

$ bower install

Include

Javascript

<script src="announce.min.js"></script>

CSS

<link rel="stylesheet" href="announce.min.css"/>

Usage

var announce = new Announce({
    position: 'bottom-right',
    timeout: true,
    timeoutDelay: 3000
});
  
announce.post({
  message: 'This is an announcement!',
  type: 'notice'
});
  
announce.post({
  message: 'This is a warning!',
  type: 'warning',
  dismiss: true
});

Demo and API Documentation

Contributing

Contributions of any kind are encouraged. If you would like to contribute in any way, please check out the guidelines for contributing.

License

Copyright © 2016 Conor Hughes - MIT License