1.3.5 • Published 6 years ago

brsjs-loader v1.3.5

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Loader

A small library for displaying and hiding loading indicators.

NPM

Build Status

Installation

npm install brsjs-loader

Usage

Initialize loader with

import Loader from 'brsjs-loader';
let loader = new Loader('id', 'type');

'id' is id of your element where you want to show your loader.

'type' is type of loader.

Show loader with

loader.show();

Hide loader with

loader.hide();

Initialize custom loader

let loader = new Loader('app', 'custom:nameOfClass');

Loaders

  • standard
  • small-circle
  • bars
  • dots
  • custom loaders

Show loader with

Example

Live example

let loader = new Loader('app', 'standard');

loader.show();
loader.hide();
1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

7 years ago

1.3.2

7 years ago

1.2.2

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago