You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
598 B
40 lines
598 B
7 years ago
|
# bi.slider
|
||
|
|
||
|
### slider插件
|
||
|
|
||
|
{% method %}
|
||
|
[source](https://jsfiddle.net/fineui/k6svamdz/)
|
||
|
|
||
|
{% common %}
|
||
|
```javascript
|
||
|
BI.createWidget({
|
||
7 years ago
|
type: "bi.slider",
|
||
|
min: 16,
|
||
|
max: 50,
|
||
7 years ago
|
});
|
||
|
```
|
||
|
|
||
|
{% endmethod %}
|
||
|
|
||
|
|
||
|
|
||
|
##参数
|
||
|
|
||
|
| 参数 | 说明 | 类型 | 默认值 |
|
||
|
| ---- | ---- | ------ | ---- |
|
||
7 years ago
|
| min | 最小值 | number | 10 |
|
||
|
| max | 最大值 | number | 50 |
|
||
7 years ago
|
|
||
|
|
||
|
|
||
|
## 方法
|
||
|
|
||
|
| 方法名 | 说明 | 参数 |
|
||
|
| -------- | ---- | ----- |
|
||
7 years ago
|
| getValue | 获得当前值 | — |
|
||
|
| setValue | 设置当前值 | value |
|
||
7 years ago
|
| | | |
|
||
|
|
||
|
------
|
||
|
|