Miss any of our Open RFC calls?Watch the recordings here! »

@spark-engine/toast

3.1.0 • Public • Published

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.

Install

npm i @spark-engine/toast

DownloadsWeekly Downloads

1

Version

3.1.0

License

MIT

Unpacked Size

11.4 kB

Total Files

11

Last publish

Collaborators

  • avatar