Skip to content

DannyFeliz/vue-loading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

24 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

vue-loading-template


Use SVG for loading.

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

Start

  npm install vue-loading-template --save

Options

  1. type: SVG type Type: String Required: false Default: balls

Some type you can choose: 'balls', 'bars', 'beat', 'bubbles', 'cylon', 'spin', 'spiningDubbles', 'barsCylon'

  1. color: SVG color Type: String Required: false Default: #5ac1dd

  2. size: SVG size,including width and height. Type: Object Required: false Default: { width: '40px', height: '40px' }

Example in SPA

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

About

๐Ÿ˜„ vue-loading ๐Ÿ˜Š

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 49.3%
  • JavaScript 46.9%
  • HTML 3.8%