Notificationer V3

Easily notify your users from client-side JavaScript. It's as simple as nf.notify()

Quick Start

Add the following script to your HTML file before your own script tag(s):

<script src='https://joelgrayson.com/software/notificationer/notificationer-v3.js'></script>

Notificationer is now imported in the object notificationer or nf for short. To notify, call nf.notify() as many times as you want. Check out the full documentation for more functionality.

<script src='https://joelgrayson.com/software/notificationer/notificationer-v3.js'></script>
<script>
	nf.notify('Hello world');
	nf.notify('Success', 'lightgreen');
	nf.notify('Confirmation required <button>confirm</button>', 'red');
</script>

Result: result

Full Documentation

Properties

The following properties can be set using nf.property=newValue.

Methods

Interactive Sandbox

Try the code sandbox at https://joelgrayson.com/software/notificationer/sandbox/v3.html.