Skip to content
This repository was archived by the owner on Oct 10, 2021. It is now read-only.

wyntau/vue-sui-loading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-sui-loading

Vue 2.x port of sui $.{showIndicator,hideIndicator,showPreloader,hidePreloader}

Install

npm install vue-sui-loading

Usage

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();
        }
    }
});

APIs

  • $showIndicator()
  • $hideIndicator()
  • $showPreloader([title])
  • $hidePreloader()

Thanks To

License

MIT

About

Vue 2.x port of sui $.{showIndicator,hideIndicator,showPreloader,hidePreloader}

Resources

Stars

Watchers

Forks

Packages

No packages published