toastm

1.0.4 • Public • Published

What is Toastm ? 🤔

It's Just a Package for Popup Toast / Notification Message 📜

Installation ⚙️

  npm install toastm

How to Use toastm 🤔

index.html

<head>
  <link rel="stylesheet" href="./style.css" />
</head>
<body>
  <script type="module" src="yourfilename.js"></script>
</body>

yourfilename.js

import { addToastm } from "./node_modules/toastm/toastm.js";

addToastm({
  color: "primary",
  position: "center",
  text: "Toastm notification box 😄",
});

style.css

@import "./node_modules/toastm/style.css";

Options 📜

    * color - primary | secondary | success | danger | warning | dark | special
    * text - anything
    * positon - left | center | right

Readme

Keywords

none

Package Sidebar

Install

npm i toastm

Weekly Downloads

0

Version

1.0.4

License

ISC

Unpacked Size

4.22 kB

Total Files

4

Last publish

Collaborators

  • aravindakrishnan