1.0.0 • Published 5 years ago
vue-v-bgpie v1.0.0
this is a background-colors for pie like this
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'
})
1.0.0
5 years ago