Skip to content

chiel/disclose.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 });

About

A small library that helps with notifications.

Resources

Stars

Watchers

Forks

Packages

No packages published