7

GitHub - BMSVieira/lwder.js: Lightweight Loading Animation

 2 years ago
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.
neoserver,ios ssh client

black_medium_square Features:

  • hammer_and_wrench Easy to Use
  • stars Fast & Lightweight (0.5Kb)
  • muscle No dependencies, built with VanillaJS
  • earth_americas Tested in all modern browsers

black_medium_square Demo:

https://bmsvieira.github.io/lwder.js/

black_medium_square 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" });
});

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK