feat(IndexBar): add change event (#7296)

* feat(IndexBar): add change event

* docs(IndexBar): update event param
This commit is contained in:
neverland
2020-10-08 18:56:21 +08:00
committed by GitHub
parent abcb2dc8df
commit c13b953cff
5 changed files with 64 additions and 13 deletions
+4 -3
View File
@@ -82,9 +82,10 @@ export default {
### IndexBar Events
| 事件名 | 说明 | 回调参数 |
| ------ | -------------- | --------------- |
| select | 选中字符时触发 | index: 索引字符 |
| 事件名 | 说明 | 回调参数 |
| ----------------- | ---------------------------- | ------------------------- |
| select | 点击索引栏的字符时触发 | _index: number \| string_ |
| change `v2.10.10` | 当前高亮的索引字符变化时触发 | _index: number \| string_ |
### IndexAnchor Slots