1.0.2 • Published 5 years ago

ring-progress-bar v1.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

Usage


##methods 1. setSize(size) // set the ring's size; it is not be requested! Its' defalut size is "200px"

2. show(percent, color) // set the ring's percent and color; The color is not be requested! Its' defalut color is "red"!

##exmaple

<template>
    <ring></ring>
</template>
<script>
    import ring from 'ring-progress-bar'
    export default {
        name: 'test',
        components: {
            ring
    },
    mounted: function () {
        ring.methods.setSize('200px') 
        ring.methods.show(80, 'green')
    }
}
</script>

##Thank you for your support!