English | 简体中文
vue-easy-loading makes the loading animation
easier
and morebeautiful
.
- 🍳 easy to use, Just two line of code.
- 🎫 more beautiful, with help of spinkit.
- 🚗 Higher customization, use it on every HTML DOM.
- 💪 Long time support.
npm i -S vue-easy-loading
#or
yarn add vue-easy-loading
import Loading from "vue-easy-loading"
Vue.use(Loading);
use it by vue-directive:
<div
v-load="true"
load-background="rgba(0, 0, 0, .7)"
load-type="rotating-plane"
></div>
Name | Desc | Type | Accepted Values | Default |
---|---|---|---|---|
load-background | set cover background | String | css color | HSLA(169, 100%, 38%, .5) |
load-type | set loading animation | String | animation list | circle |
- rotating-plane
- double-bounce
- wave
- wandering-cubes
- spinner
- chasing-dots
- three-bounce
- circle
- cube-grid
- fading-circle
- folding-cube
vue-easy-loading is licensed under a MIT License.