1.6.0 • Published 6 years ago

alerted v1.6.0

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

Alerted

Minimalist toast notifications

Install

$ npm install alerted

Usage

const alerted = require('alerted');

alerted({
  text: 'This is a message',
  position: 'bottom'
});

API

alerted(options)

text

Type: string

Some text to be displayed.

heading

Type: string

An optional heading.

time

Type: int Default: 3000

How long the notification should be displayed.

position

Type: string Default: top

Specify the notification's position(either top or bottom)

classes

Type: string, array

A single string or an array of string representing additional classes.

License

MIT © Tobias Herber

1.6.0

6 years ago

1.5.0

6 years ago

1.3.0

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago