1.1.8 • Published 5 years ago

vill-loading v1.1.8

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

vill-loading

a vue plugins about notice or toast

Build Setup

install the plugin on bash and the sass module support

npm install vill-loading --save-dev
npm install sass-loader node-sass vue-style-loader --save-dev

register the plugins on the vue project in the entry file (main.js)

import loading from 'vill-loading'
Vue.use(loading);

on the vue template file ,you can use it by the follow example

<template>
  <div id="app">
     <div v-loading="{text:'加载中...',loading:true}" class="bindCls">demo</div>
  </div>
</template>

<script>
export default {
  name: 'app',
  data () {
    return {
    }
  }
}
</script>

<style lang="scss">
#app{
  width: 100vw;
  height: 100vh;
  .bindCls{
    width: 500px;
    height: 500px;
  }
}
</style>
字段说明类型默认值
fullscreen修饰符全屏loading--
lock修饰符全屏loading不可滚动)--
textloading的提示文字string-
loading控制loading的显隐boolean-

demo

demo

License

MIT

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

6 years ago