[Improvement] Tab: add change event (#1503)

This commit is contained in:
neverland
2018-07-19 10:11:05 +08:00
committed by GitHub
parent 9da3e0ce5a
commit b7b2ad9ffc
3 changed files with 12 additions and 5 deletions
+1
View File
@@ -165,4 +165,5 @@ In swipeable mode, you can switch tabs with swipe gestrue in the content
| Event | Description | Arguments |
|-----------|-----------|-----------|
| click | Triggered when click tab | indexindex of current tabtitle: tab title |
| change | Triggered when active tab changed | indexindex of current tabtitle: tab title |
| disabled | Triggered when click disabled tab | indexindex of current tab, title: tab title |
+1 -1
View File
@@ -167,5 +167,5 @@ export default {
| 事件名 | 说明 | 参数 |
|-----------|-----------|-----------|
| click | 点击标签时触发 | index:标签索引,title:标题 |
| change | 当前激活的标签改变时触发 | index:标签索引,title:标题 |
| disabled | 点击被禁用的标签时触发 | index:标签索引,title:标题 |