1.0.4 • Published 5 years ago

toastm v1.0.4

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

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
1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago