klicknotify

1.0.2 • Public • Published

Klicknotify

Build Status npm

Simple notification plugin for Klick* projects

Install

Get it on npm:

npm install klicknotify --save

Usage

import Notify from 'klicknotify';

// Initialize plugin
Notify.init();

// Show notification
Notify.show({ type: 'success', message: 'Ok!' });

Suported types

  • success
  • error
  • warning

You can use the types as alias to show notification:

Notify.success({ message: 'ok' });

Notify.error({ message: 'error' });

Notify.warning({ message: 'caution' });

Readme

Keywords

Package Sidebar

Install

npm i klicknotify

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

38 kB

Total Files

24

Last publish

Collaborators

  • vitornogueira