Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 859 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 859 Bytes

jsnotiftray

A simple JavaScript notification in tray format

Currently requires bootstrap (references bootstrap icons)

Needs some love, as some things are hard-coded.

Usage:

jsnotifytray.notify(<title>, <message>, <{info|warn|error}>, <close button {true|false}:optional>, <timeout:optional>)

example info:

jsnotiftray.notify("Info", "All your base are belong to us.", "info", true);

info example screenshot

example warning:

jsnotiftray.notify("Warning", "Somebody set up us the bomb", "info", false, 10);

warning example screenshot

example error:

jsnotiftray.notify("Error!", "You have no chance to survive make your time.", "error", true);

error example screenshot

For great justice...