Files
nexusphp/public/vendor/jquery-loading/README.md

51 lines
907 B
Markdown

# jquery-loading
[![Build Status](https://travis-ci.org/CarlosBonetti/jquery-loading.svg)](https://travis-ci.org/CarlosBonetti/jquery-loading)
Add and manipulate loading states of any element on the page.
[Docs and Demos](http://carlosbonetti.github.io/jquery-loading/).
## Getting started
Install it, using [npm](https://www.npmjs.com/):
```sh
$ npm install --save jquery-easy-loading
```
Include it:
```html
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="jquery.loading.js"></script>
```
Use it:
```javascript
$("#some-element").loading();
```
Visit [the website](http://carlosbonetti.github.io/jquery-loading/) for full list of options, methods and customization.
## Contributing to this project
Install dependencies once:
```
$ yarn install
```
Then build the project (generates `dist/` files):
```
$ yarn build
```
Run all tests with:
```
$ yarn test
```