Package Exports
- vue-knober
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-knober) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
vue-knober v1.0.5
VueKnober - a knob ui component
Dome Online
Laptop
Mobile
Usage
npm install -S vue-knober
import Vue form 'vue';
import VueKnober from 'vue-knober';
Vue.component('vue-knober', VueKnober);
<vue-knober v-model="level"/>
prop | describe | type | default |
---|---|---|---|
size | define knob size | string / number |
250(px) |
value | v-model | string / number |
0 |
min | minimum value | string / number |
0 |
max | maximum value | string / number |
255 |
primaryColor | primary color | string |
#79bd9a |
diffColor | diff color | string |
#cff0da |
quenchColor | quanch color | string |
#eee |
backgroundColor | background color | string |
#fff |
shadowColor | shadow color | string |
#aaa |
fontColor | font color | string |
#999 |