Vue 2.x port of sui $.{showIndicator,hideIndicator,showPreloader,hidePreloader}
npm install vue-sui-loading
import Vue from 'vue';
import vueSuiLoading from 'vue-sui-loading';
Vue.use(vueSuiLoading);
new Vue({
el: '#container',
methods: {
showIndicator(){
this.$showIndicator();
// this.$hideIndicator();
},
showPreloader(){
this.$showPreloader();
// this.$hidePreloader();
}
}
});
- $showIndicator()
- $hideIndicator()
- $showPreloader([title])
- $hidePreloader()
MIT