[Doc] Tab: scroll event (#2691)

This commit is contained in:
neverland 2019-02-06 09:47:29 +08:00 committed by GitHub
parent 6fb89ac893
commit 8fa872e52c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -184,4 +184,4 @@ In swipeable mode, you can switch tabs with swipe gestrue in the content
| 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 |
| scroll | Triggered when tab scroll | Object: { scrollTop, isFixed } |
| scroll | Triggered when tab scroll in sticky mode | Object: { scrollTop, isFixed } |

View File

@ -188,4 +188,4 @@ export default {
| click | 点击标签时触发 | index标签索引title标题 |
| change | 当前激活的标签改变时触发 | index标签索引title标题 |
| disabled | 点击被禁用的标签时触发 | index标签索引title标题 |
| scroll | 滚动时触发 | { scrollTop: 距离顶部位置, isFixed: 是否吸顶 } |
| scroll | 滚动时触发,仅在 sticky 模式下生效 | { scrollTop: 距离顶部位置, isFixed: 是否吸顶 } |