Skip to content

ajsoriar/loading-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loading-layer

npm version

Simple javascript spinner with a dark semi-transparent background to be used in javascript Apps as an activity indicator.

loading-layer-2 demo image

loading-layer-3 demo image

Quick start

1 Download and Install loading-layer

2 Include dependences

2.1 loading-layer.js or loading-layer.min.js are under dist folder.

2.2 Include loading-layer.js or loading-layer.min.js, e.g.

<link rel="stylesheet" href="../dist/loading-layer.min.css">
<script src="../dist/loading-layer.min.js"></script>

2.3 Or the webpack way

import 'loading-layer.js';
import 'loading-layer.css';

3 Use it

In your javascript code this way:

<script>LL.show(); LL.hide();</script>

4 Development instructions

$ npm install

grunt build

4 License

loading-layer.js is MIT licensed.