vue-icon-loading
v1.0.0
Published
Custom loading
Downloads
6
Maintainers
Readme
vue-icon-loading
- only one API, easy use.
Getting Started
Install
npm install vue-icon-loading -S
PropTypes
| Property | Type | Default | Description | | :------------ | :------- | :------ | :--------------------------------------- | | type | String | "1" | Available values are "1", "2", "3"
Usage
//main.js
import Vue from "vue";
import vueIconLoading from "vue-icon-loading"
Vue.use(vueIconLoading);
<template>
<div>
<vue-icon-loading v-show="showloading" type="1"></vue-icon-loading>
</div>
</template>
<script>
export default {
data(){
return {
showloading:ture
}
}
}
</script>