Skip to content

iransoftnet1/vue-loading-directive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

vue loading directive

Each tag is given a mask over its entire body area and your custom view or default views are displayed. Fully expandable and changeable

Default view capabilities:

  • size change
  • color change
  • loading type

How to use directive: First define it in the main.js file

import loading from '@/modules/loading/index.js'
Vue.use(loading.directive)

Then use this directive and give a bool value

        <div v-loading="true">
          <router-view/>
        </div>

Send type to directive

        <div v-loading:spinner="true">
          <router-view/>
        </div>

Send size to directive | 1 to 15

        <div v-loading.size-5="true">
          <router-view/>
        </div>

To add a custom view, place it in the path below and impot it in the _loading.vue file

src/views/

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy