Simple javascript spinner with a dark semi-transparent background to be used in javascript Apps as an activity indicator.
- yarn: yarn add loading-layer
- NPM: npm install loading-layer
- github: https://github.com/ajsoriar/loading-layer
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';
In your javascript code this way:
<script>LL.show(); LL.hide();</script>
$ npm install
grunt build
loading-layer.js is MIT licensed.