1.0.1 • Published 7 years ago

@thebrockellis/loading-spinner v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Loading Spinner Web Component

A highly customizable loading spinner as a pure web component.

Preview

Credit

The code for this spinner was written by seanwuapps. All the props to him. I just submitted it to npm. I also followed this tutorial about publishing stencil components from the wonderful folks at Twilio, specifically DOMINIK KUNDEL.

Installation

npm install @thebrockellis/loading-spinner

Usage

At the top of your component/page, import the package like so:

import '@thebrockellis/loading-spinner';

Configuration

<loading-spinner type="android" color="green"></loading-spinner>
<loading-spinner type="circle" color="#333333"></loading-spinner>
<loading-spinner type="bars" color="orange"></loading-spinner>
<loading-spinner type="bars" color="blue"></loading-spinner>
<loading-spinner type="ios" color="red"></loading-spinner>