0.1.4 • Published 6 years ago

lealjs-toast v0.1.4

Weekly downloads
47
License
-
Repository
github
Last release
6 years ago

Toast

Toast for web and mobile.

Dependency

jQuery

Usage

Simple and beautiful.

Install

Using bower

bower install geidsonbc/dialogs --save

Setup

Include locally:

<script src="{your-url}/toast.min.js" charset="utf-8"></script>
<link rel="stylesheet" href="{your-url}/toast.min.css">

Or remote:

<script src="https://raw.githubusercontent.com/geidsonbc/toast/master/dist/toast.min.js" charset="utf-8"></script>
<link rel="stylesheet" href="https://raw.githubusercontent.com/geidsonbc/toast/master/dist/toast.min.css">

Methods

  1. Normal
toast('normal');
  1. Time
toast('time', 100);
  1. Infinite
toast('infinite', -1);

Contributing

  1. Fork it!
  2. Create a new branch
  3. Commit your changes
  4. Push to the branch
  5. Submit a pull request :D

License

Licensed under the MIT License.