shou-loading-bar

    1.0.1 • Public • Published

    shou-loading-bar

    加载进度条

    Build Setup

    //install dependencies
    npm install shou-loading-bar
     
    //use
    import loading from 'shou-loading-bar'
    Vue.use(loading);
     
    //还可以设置线条颜色
    Vue.use(loading,{
      color:'#409EFF',//设置线条颜色
      height:10 //设置线条高度
    });
     
    //xxx.vue
    this.$loadingBar.failed(); //加载失败
    this.$loadingBar.finish(); //加载成功
    this.$loadingBar.start(); //开始加载
    this.$loadingBar.update(percent); //精确修改

    Install

    npm i shou-loading-bar

    DownloadsWeekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    77.1 kB

    Total Files

    5

    Last publish

    Collaborators

    • shoupeng