1.1.3 • Published 6 years ago

svg-loading v1.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Using Vue2.0 svg-loading component

Install

You can use Yarn or NPM

npm install --save svg-loading

OR

yarn add svg-loading

Usage

import SvgLoading from 'svg-loading'

Props

NameTypeDefaultDescription
sizeNumber50Set the loading size
colorString#58b7ffSet the loading color
visibleBooleanfalseSet the loading display

Example

<template>
  <div id="app">
    <svg-loading :visible="loading"></svg-loading>
  </div>
</template>

<script>

import SvgLoading from 'svg-loading'
export default {
  data() {
    loading: false
  },

  created() {
    setTimeout(() => { this.loading = true }, 1000)
  }
}
</script>

Development

SvgLoading now uses Poi for development

  • yarn dev: Run example in development mode
  • yarn build: Build component in both format

License

MIT

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago