mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
text align tag + update/edit get desc + rating improve
This commit is contained in:
+50
@@ -0,0 +1,50 @@
|
||||
# jquery-loading
|
||||
|
||||
[](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
|
||||
```
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user