7
GitHub - BMSVieira/lwder.js: Lightweight Loading Animation
source link: https://github.com/BMSVieira/lwder.js
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Features:
- Easy to Use
- Fast & Lightweight (0.5Kb)
- No dependencies, built with VanillaJS
- Tested in all modern browsers
Demo:
https://bmsvieira.github.io/lwder.js/
Installation:
1 - Include JavaScript Source.
<script src="path/to/lwder.js"></script>
2 - Set HTML Elements.
<div class="lwder" lwder="..." lwderspeed="300"> Page is loading </div>
3 - Initilize.
document.addEventListener("DOMContentLoaded", function() { new Lwder({ selector: ".lwder" }); });
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK