loading-layer

1.1.2 • Public • Published

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.

Package Sidebar

Install

npm i loading-layer

Weekly Downloads

0

Version

1.1.2

License

MIT

Unpacked Size

11.8 kB

Total Files

7

Last publish

Collaborators

  • ajsoriar