0.2.0 • Published 9 years ago

disclose.js v0.2.0

Weekly downloads
9
License
-
Repository
github
Last release
9 years ago

disclose

Disclose is a library that helps you display notifications to the user in a generic way.

Usage

$ npm install disclose.js
var Disclose = require('disclose.js');
var disclose = new Disclose({ anchor: 'bottomright' });

disclose.success('Hurray! Something good happened!');
disclose.info('Hey this thing happened. We just thought you should know');
disclose.warning('Something\'s not entirely right buuuut okay.');
disclose.error('Hurray! Something good happened!', { sticky: true });