1.0.0 • Published 5 years ago

vue-v-bgpie v1.0.0

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

this is a background-colors for pie like this

Alt text

html or jsx

you can use like this:

you can set some owner options what you like by v-bgpie={...}

<div v-bgpie="{ red: [0, '30%'],
    yellow: ['30%', '60%'],
    blue: ['60%', '100%']}">
</div>
or you can use like that: use v-bgpie with no arguments
<div v-bgpie></div>

js for es6

import Vue from 'vue';
import bgpie from 'vue-v-bgpie';
Vue.use(bgpie)
new Vue({
    el:'#app'
})