feat(IndexBar): add change event (#7296)
* feat(IndexBar): add change event * docs(IndexBar): update event param
This commit is contained in:
@@ -82,9 +82,10 @@ export default {
|
||||
|
||||
### IndexBar Events
|
||||
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
| ------ | -------------- | --------------- |
|
||||
| select | 选中字符时触发 | index: 索引字符 |
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
| ----------------- | ---------------------------- | ------------------------- |
|
||||
| select | 点击索引栏的字符时触发 | _index: number \| string_ |
|
||||
| change `v2.10.10` | 当前高亮的索引字符变化时触发 | _index: number \| string_ |
|
||||
|
||||
### IndexAnchor Slots
|
||||
|
||||
|
||||
Reference in New Issue
Block a user