3.1.0 • Published 5 years ago

@spark-engine/toast v3.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

#Spark Toast

Notification dispatch and presentation

Usage

var toast = require('@spark-engine/toast')

toast(message)

Uses the 'normal' type of notification.

toast('Hello world.')

toast(type, message)

Uses the specified type of notification.

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

toast.success, toast.error, toast.action, toast.normal

Helper functions that do exactly what they say they do.