@pluginarch/create-parch
Version:
this is way to create a ui project
21 lines (20 loc) • 432 B
JavaScript
var sliderAttr = {
tag: 'Slider',
attrMap: {
id: 'slider1',
min: '0',
max: '52',
blockIncrement: '1',
value: '35',
minorTickCount: '5',
majorTickUnit: '10',
lineColor: '#000000',
sliderColor: '#000000',
showLabel: 'true',
showTickMarks: 'true',
showTickLabels: 'true',
orientation: '1', //1:false 水平, 2:true 垂直
w: '800',
h: '50'
}
}