Commit 48074f2e authored by fanzhaobing's avatar fanzhaobing Committed by 杨奕

Slider: add props debounce

parent a033db42
......@@ -237,6 +237,7 @@
| range | 是否为范围选择 | boolean | — | false |
| vertical | 是否竖向模式 | boolean | — | false |
| height | Slider 高度,竖向模式时必填 | String | — | — |
| debounce | 输入时的去抖延迟,毫秒,show-input等于true时有效 | number | — | 300 |
### Events
| 事件名称 | 说明 | 回调参数 |
......
......@@ -11,6 +11,7 @@
:controls="showInputControls"
:min="min"
:max="max"
:debounce="debounce"
size="small">
</el-input-number>
<div class="el-slider__runway"
......@@ -101,6 +102,10 @@
},
height: {
type: String
},
debounce: {
type: Number,
default: 300
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment