Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

@inotom/vue-svg-loading

1.0.0 • Public • Published

vue-svg-loading

SVG loading animation Vue.js component.

Demo

Demo

Install

Browser

<script src="vue.js"></script>
<script src="vue-svg-loading.min.js"></script>

npm

npm install --save @inotom/vue-svg-loading

Usage

Browser

<div id="app">
  <svg-loading></svg-loading>
</div>
 
<script src="vue.js"></script>
<script src="vue-svg-loading.min.js"></script>
<script>
Vue.use(SvgLoading);
new Vue({
  el: '#app'
});
</script> 

SFC

<template>
  <svg-loading></svg-loading>
</template>
 
<script>
import GoTop from '@inotom/vue-svg-loading';
 
export default {
  components: {
    SvgLoading
  }
}
</script>

Props

name type defaults description
:size Number 50 width/height pixel size
fill String #666 SVG fill color

License

MIT

Author

inotom

Keywords

install

npm i @inotom/vue-svg-loading

Downloadsweekly downloads

2

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability