Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 489 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 489 Bytes

#Notification

Notification dispatch and presentation

Usage

var notify = require('compose-notification')

notify(message)

Uses the 'normal' type of notification.

notify('Hello world.')

notify(type, message)

Uses the specified type of notification.

notify('Hello world.', 'success')

notify.success, notify.error, notify.action, notify.normal

Helper functions that do exactly what they say they do.