Skip to content

ignicaodigitalbr/klicknotify

Repository files navigation

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

About

Simple notification plugin for Klick* projects

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •