Categories
Plugins

nice-toast-js

Nice Toast JS

nice and easy toast for jquery

Requirements

jQuery

Installation

NPM

npm install nice-toast-js

Yarn

yarn add nice-toast-js

CDN – jsDelivr


CDN – UNPKG


Usage
Initialize the Plugin
$.niceToast.setup({
position: “top-center”,
timeout: 5000,
});
New toast
$(‘button’).click(function () {
$.niceToast.error(“I’m a toast!”);
});

License
MIT

GitHub Repo