2.0.2 • Published 2 years ago

vue-spectrum-n v2.0.2

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

vue-spectrum-n

安装

npm install vue-spectrum-n

使用

// main.js中
import vueSpectrum from 'vue-spectrum-n'
Vue.use(vueSpectrum)

//需要引用文件中
<Spectrum/>  或  <Spectrum></Spectrum>

属性

属性说明*必需类型可选值默认值
audio音源(若音源为实时创建则需使用此属性传入实例对象,否则匹配项目首个audio对象)----
initiate是否启用trueboolean--
spectrumType模式-stringround(环形), square(方形)round
width画布宽度truenumber--
height画布高度truenumber--
color颜色---black
lineWidth线条宽度-number-4
lineLongth线条长度(值越小则线条越长)-number>04
radius半径(round模式下有效)-number-155
keycaps键帽类型-stringbutt(无), round(圆形), square(方形)round
round是否显示空心圆(round模式下有效)-boolean-true
quantity线条数量-number-120
2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago