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
@@ -78,9 +78,10 @@ export default {
### IndexBar Events
| Event | Description | Arguments |
| ------ | --------------------------- | --------- |
| select | Triggered when select index | index |
| Event | Description | Arguments |
| --- | --- | --- |
| select | Triggered when select index | _index: number \| string_ |
| change `v2.10.10` | Triggered when active index changed | _index: number \| string_ |
### IndexAnchor Slots