jquery-toasts

1.1.0 • Public • Published

jquery-toasts

A simple & lightweight toast messages library


Requires.io npm GitHub npm GitHub followers GitHub Repo stars


isaeken/jquery-toasts

Installation

You can install jquery-toasts plugin using npm or include directly files

install using npm

npm install jquery-toasts

or include files

<head>
...
<link rel="stylesheet" href="/your/servers/assets/path/css/jquery-toasts.min.css">
<script src="/your/servers/assets/path/js/jquery.min.js"></script>
<script src="/your/servers/assets/path/js/anime.min.js"></script>
<script src="/your/servers/assets/path/js/jquery-toasts.min.js"></script>
...
</head>

Simple Usage

creating toast with element attributes

<button data-toast="Your toast message">Create toast using attribute</button>
<button data-toast="Your toast message" data-timeout="1000">Create toast using attribute with timeout</button>

or jQuery

$.toast('Your toast message');

Help and docs

Please report bugs from issues tab

/jquery-toasts/

    Package Sidebar

    Install

    npm i jquery-toasts

    Weekly Downloads

    4

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    74.6 kB

    Total Files

    19

    Last publish

    Collaborators

    • isaeken