Skip to content

optixsolutions/vue-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue Loader

A plugin to handle the loading state within your Vue applications

Installation

npm install @optix/vue-loader --save
yarn add @optix/vue-loader
import Vue from 'vue';
import VueLoader from '@optix/vue-loader';

Vue.use(VueLoader);

Usage

Accessing the loader object:

// Globally
Vue.loader.start('example');

// On an instance
this.$loader.start('example');

Methods

  • start(item)
  • stop(item)
  • isLoading() // boolean
  • clear()

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published