@copy-paste/loading
v1.0.4
Published
vue loading
Downloads
8
Readme
Other
validate with Vue.js
grid with Vue.js
Development
npm install @copy-paste/loading
Config
<!-- components/loading.vue -->
<template>
<div>loading custom...</div>
</template>
import loader from '@/loading/index.js'
import loading from '@/components/loading.vue'
Vue.use(loader, {
animation: 'custom', //transition vue, default no animation
loading
})
Usage
//show
this.$loading(true)
//hide
this.$loading(false)