fineui是帆软报表和BI产品线所使用的前端框架。
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.
|
|
|
# bi.slider
|
|
|
|
|
|
|
|
### slider插件
|
|
|
|
|
|
|
|
{% method %}
|
|
|
|
[source](https://jsfiddle.net/fineui/k6svamdz/)
|
|
|
|
|
|
|
|
{% common %}
|
|
|
|
```javascript
|
|
|
|
BI.createWidget({
|
|
|
|
type: "bi.slider",
|
|
|
|
min: 16,
|
|
|
|
max: 50,
|
|
|
|
});
|
|
|
|
```
|
|
|
|
|
|
|
|
{% endmethod %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##参数
|
|
|
|
|
|
|
|
| 参数 | 说明 | 类型 | 默认值 |
|
|
|
|
| ---- | ---- | ------ | ---- |
|
|
|
|
| min | 最小值 | number | 10 |
|
|
|
|
| max | 最大值 | number | 50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 方法
|
|
|
|
|
|
|
|
| 方法名 | 说明 | 参数 |
|
|
|
|
| -------- | ---- | ----- |
|
|
|
|
| getValue | 获得当前值 | — |
|
|
|
|
| setValue | 设置当前值 | value |
|
|
|
|
| | | |
|
|
|
|
|
|
|
|
------
|
|
|
|
|