1.0.0 • Published 6 years ago
vue-icon-loading v1.0.0
vue-icon-loading
- only one API, easy use.
Getting Started
Install
npm install vue-icon-loading -SPropTypes
| 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>1.0.0
6 years ago