love-loading
v0.1.0
Published
<!-- * @author: XiongYi * @since: 2020-03-11 00:17:21 * @describe: --> # vue-heart-loading
Downloads
2
Readme
vue-heart-loading
install
npm install vue-heart-loading
global register
// main.js
import heartLoading from 'vue-heart-loading';
import 'vue-heart-loading/lib/vue-heart-loading.css';// 引入样式
Vue.use(heartLoading);
how to use
// loading open
this.$heartLoading.open();
setTimeout(() => {
// loading close
this.$heartLoading.close();
}, 2000);