xiaomo-php / vue-loading

πŸ˜„ vue-loading 😊

Home Page:https://jkchao.github.io/vue-loading/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue-loading-template


Use SVG for loading.

Demo: https://jkchao.github.io/vue-loading/

Start

npm install vue-loading-template --save

Options

Prop Type Required Default Available values
type String false balls balls, bars, beat, bubbles, cylon, spin, spiningDubbles, barsCylon
color String false #5ac1dd
size Object false { width: '30px', height: '30px' }

Example in SPA

 <template>
    <div>
       <h2>bars</h2>
       <vue-loading type="bars" color="#d9544e" :size="{ width: '50px', height: '50px' }"></vue-loading>    
    </div>
 </template>
  <script>
  import vueLoading from 'vue-loading-template'
  export default {
    name: 'app',
    components: {
      vueLoading
    }
  }
  </script>

License

MIT

About

πŸ˜„ vue-loading 😊

https://jkchao.github.io/vue-loading/

License:MIT License


Languages

Language:Vue 49.3%Language:JavaScript 46.9%Language:HTML 3.8%