sPreLoader
Create a Loading Screen to preloader content for your website.
- Easy for setup
- Minify: 3Kb
Installation
In order to install it you can run:
$ npm install spreloader
Save into package.json
$ npm install spreloader --save
Usage
After <body> tag:
<div id="sPreLoader"></div>
Use javascript like this:
<script type="text/javascript">$('body').</script>
Option:
<script type="text/javascript">$('body').sPreLoader;</script>
Callback:
<script type="text/javascript">$('body').sPreLoader;</script>
Tech
sPreLoader uses a number of open source projects to work properly:
- [jQuery] - Jquery 1.12
- [Twitter Bootstrap] - great UI boilerplate for modern web apps
Bug
If you get bug or any issues. Please email to me(uyphamvuong@gmail.com)! Thank you so much.
Todos
- Content with Image(brand logo, photo, etc...)
- Add Night Mode
License
MIT