Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rohitkhatri/center-loader
a jQuery plugin to place loader in the center horizontally and vertically of any container or page.
https://github.com/rohitkhatri/center-loader
center-loader jquery loader
Last synced: about 1 month ago
JSON representation
a jQuery plugin to place loader in the center horizontally and vertically of any container or page.
- Host: GitHub
- URL: https://github.com/rohitkhatri/center-loader
- Owner: rohitkhatri
- License: mit
- Created: 2015-08-09T19:18:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-25T06:34:55.000Z (about 6 years ago)
- Last Synced: 2023-08-13T04:20:53.812Z (over 1 year ago)
- Topics: center-loader, jquery, loader
- Language: HTML
- Homepage: http://plugins.rohitkhatri.com/center-loader
- Size: 80.1 KB
- Stars: 9
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Center-Loader](http://plugins.rohitkhatri.com/center-loader/)
[Center-Loader](http://plugins.rohitkhatri.com/center-loader/) is an open source, loader plugin to block a box or div to show the process created by [Rohit Khatri](http://rohitkhatri.com/).
## How to Use?
Center-Loader depends on jQuery. Include them both in end of your HTML code:
```html
```
You can either pass a font awesome icon like
```html
```Or pass any image or tag and it will be block the container and place the loader in the center.
To show and hide loader:
```js
$('#container').loader('show','');
$('#container').loader('hide');$('#container').loader('show','');
$('#container').loader('hide');
```## Bugs and Issues
Have a bug or an issue with this plugin? [Open a new issue](https://github.com/rohitkhatri/center-loader/issues) here on GitHub or leave.
## Creator
Center-Loader was created by and is maintained by **Rohit Khatri**, Backend Developer at [Thought Chimp](http://www.thoughtchimp.com/).
* https://twitter.com/devrohitkhatri
* https://github.com/rohitkhatri