whit-toasts

1.2.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i whit-toasts

Weekly Downloads

0

Version

1.2.0

License

ISC

Unpacked Size

5.34 kB

Total Files

10

Last publish

Collaborators

  • whitigol