js-simple-toast

1.0.4 • Public • Published

Simple Toast

Descrption

very simple toast for web page

Usage

import SimpleToast from 'js-simple-toast'

// show toast
SimpleToast.show('hello world');

// show toast and set the duration to 500
SimpleToast.show('hello world', 500);

// set the zIndex of container to 2000
SimpleToast.setZIndex(2000);

Package Sidebar

Install

npm i js-simple-toast

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

11.1 kB

Total Files

7

Last publish

Collaborators

  • zero-knight