js notify code example
Example 1: notify jquery
$.notify("BOOM!", "error");
Example 2: notify.js
import toaster from "toasted-notes";
import "toasted-notes/src/styles.css";
toaster.notify("i am notifying you i will exit after 2s", {duration: 2000})
Example 3: notify js
var h5 = $("<h5/>").append("You MUST have some Foo !")
$.notify({
title: h5,
button: 'Ok'
}, {
style: 'foo',
autoHide: false,
clickToHide: false
});
Example 4: notify js
var h5 = $("<h5/>").append("You MUST have some Foo !")
$.notify({
title: h5
}, {
style: 'foo',
autoHide: false,
clickToHide: false
});