web-spinner
v1.1.1
Published
Spinner as a web component.
Downloads
2
Maintainers
Readme
Web Spinner
This project is based on Web Components, for Spinner.
Usage
- Default Spinner shown.
<web-spinner loading="true"></web-spinner>
- Default Spinner hidden.
<web-spinner></web-spinner>
or
<web-spinner loading="false"></web-spinner>
- Advanced Spinner with Color customization.
<web-spinner loading="true" color="purple"></web-spinner>
- Advanced Spinner with Size of Spinner customization.
<web-spinner loading="true" color="purple" size="50"></web-spinner>
size: 25 to 100
- Advanced Spinner with Position of the Overlay customization.
<web-spinner loading="true" color="purple" size="50" position="600, 700, 50, 50"></web-spinner>
position: width, height, top, left
width: 500 to 1500
height: 500 t0 1500
top: 0 to 1000
left: 0 to 1000
Installation
Use the package manager npm to install web-spinner.
npm install web-spinner
Include "/node_modules/web-spinner/dist/web-spinner.js" in your HTML File or in angular.json file.
Authors
- Vicky Kumar - Vicky Kumar - GitHub
License
This project is licensed under the MIT License - see the LICENSE file for details