whit-toasts
v1.2.0
Published
Whitigol Toasts was created for use inside Whitigol Web Design projects. This package adds new styles to the default [Notyf](https://www.npmjs.com/package/notyf) package.
Downloads
1
Readme
Whitigol Toasts
Whitigol Toasts was created for use inside Whitigol Web Design projects. This package adds new styles to the default Notyf package.
Dependencies
Installation
Run npm i whit-toasts
Image Preview
Usage
Web (Using CDN)
<head>
...
<script src="https://cdn.jsdelivr.net/npm/whit-toasts@latest/index.min.js" defer></script>
</head>
NodeJS
const { toast } = require("whit-toasts");
Using Toasts
toast.success("Success Toast"); // Success Toast
toast.info("Info Toast"); // Info Toast
toast.warning("Warning Toast"); // Warning Toast
toast.error("Error Toast"); // Error Toast
Settings (Can not be changed!)
| Setting | Current Setting |
|---------------|-----------------|
| Dismissible | true
|