0.0.5 • Published 6 years ago

promiseyoullnotify v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

PromiseYoullNotify

Framework agnostic notification library.

Live example

Usage

import NotificationManager from 'promiseyoullnotify';

const notificationManager = new NotificationManager();
const notificationId = notificationManager.createNotification({
    duration: 1500, // notification duration in ms
    text: 'You\'ve got an error', // notification text
    type: 'warning', // normal | success | warning
    params: {
        'data-test': 'great.notification',
    },
});

notificationManager.closeNotification(notificationId);
0.0.5

6 years ago

0.0.4

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago