vue2-loading

vue-loading presented in Vue2
13,335 13
Install
npm install vue2-loading
Latest Version:0.0.16
Vue:2
License:MIT
Last Updated:Jan 24, 2019
Links: GitHub  ·  npm
Maintainer: kc_vip30

vue2-loading

npm vue2

vue-loading presented in Vue2

Install

npm i -S vue2-loading

Dependencies

font-awesome for spinner css

Usage

In App.vue
<script>
  import VueLoading from 'vue2-loading'
  Vue.use(VueLoading, {
    text: 'Here I come...',
    bg: 'rgba(230, 233, 236, 0.8)',
    textColor: '#000',
    spinnerClass: 'fa fa-spin fa-spinner fa-3x'
  })
</script>


<template>
  <div v-loading="isLoading (Boolean)"> 
  </div>
</template>

Options

text:

  • loading block text
  • default value: "Loading ..."

bg:

  • loading block backgroundColor css,
  • default value: "rgba(230, 233, 236, 0.8)"

textColor:

  • loading message text css,
  • default value: "#fff"

spinnerClass:

  • loading spinner class,
  • default value: "fa fa-spin fa-spinner fa-3x"

:copyright: License

MIT

Related Packages

@21cnfe/onekit-mp-cli

小程序框架开发工具

1,063
duplicate-dependencies-webpack-plugin

webpack plugin to find duplicated dependencies from your bundle

332,104 6
@debut/plugin-report

Report generation for strategy backtesting in debut

4,011 18
@amilochau/core-vue3

Core plugin for vue.js (v3) projects

3,802 0
@lg2/nuxt3-plugin-link-resolver

link resolver plugin fro nuxt3

3,544 0

Version History

Version Released Vue License
0.0.16 ^2.1.10 MIT
0.0.15 ^2.1.10 MIT
0.0.14 ^2.1.10 MIT
0.0.13 ^2.1.10 MIT
0.0.12 ^2.1.10 MIT