https://github.com/virskor/vue-lite-spinner
a simple loading component for vue.js
https://github.com/virskor/vue-lite-spinner
Last synced: 4 months ago
JSON representation
a simple loading component for vue.js
- Host: GitHub
- URL: https://github.com/virskor/vue-lite-spinner
- Owner: virskor
- Created: 2018-12-30T05:18:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-30T10:00:15.000Z (over 6 years ago)
- Last Synced: 2025-02-09T05:48:53.090Z (4 months ago)
- Language: JavaScript
- Size: 218 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vue-lite-spinner
> a simple loading components for vue
[Online Demo](https://virskor.github.io/vue-lite-spinner/)
[Github](https://github.com/virskor/vue-lite-spinner.git)
## Installation
``` bash
# install by NPM
npm install vue-lite-spinner# or Yarn
yarn add vue-lite-spinner
```
## Notice
make sure your browser support css3## Usage
``` js
import {loading} from 'vue-lite-spinner';
export default {
...,
components: {
loading
}
}
`````` html
```## Parameter
background[String] Background can be a string like #000000 or rgba(0, 0, 0, .32)
position[String] You can select a position to show your loader below
text[String] Text strings that you want to tell your user
show[Boolean] Show it or not
index[Number] Like css stylesheet property z-index, 9999 by default
size[Number] 2-5 are recommended