1.2.0 • Published 2 years ago

whit-toasts v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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

Preview Image

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 |

1.2.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago