Skip to content

ignicaodigitalbr/klicknotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

338d335 · Oct 22, 2019

History

18 Commits
Sep 16, 2019
Sep 16, 2019
Nov 22, 2016
Nov 22, 2016
Nov 18, 2016
Nov 18, 2016
Nov 18, 2016
Nov 22, 2016
Nov 22, 2016
Nov 18, 2016
Nov 18, 2016
Oct 22, 2019
Oct 22, 2019
Oct 22, 2019

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