vue-sui-loading

0.0.2 • Public • Published

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

Package Sidebar

Install

npm i vue-sui-loading

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • treri