vue-loading-rx

0.0.2 • Public • Published

vue-loading-rx

Vue directive for loading

Install

npm

npm install vue-loading-rx --save

yarn

yarn add vue-loading-rx

Usage

// main.js
import Vue from 'vue';
import vueLoader from 'vue-loading-rx';
import 'vue-loading-rx/dist/vue-loading.css';
 
Vue.use(vueLoader, 'loading');
<template>
  <div class="demo1" v-loading.full="isLoading">全局加载</div>
  <div class="demo1" v-loading="isLoading2">局部加载</div>
  <div class="demo1" v-loading.full="{background: 'rgba(255,255,255,.5)', show: isLoading3}" >其他配置</div>
</template>

example

Readme

Keywords

Package Sidebar

Install

npm i vue-loading-rx

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

13.1 kB

Total Files

8

Last publish

Collaborators

  • rxdey