lijianan
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
4 deletions
-
components/carousel/index.en-US.md
-
components/carousel/index.zh-CN.md
|
|
@ -33,8 +33,8 @@ A carousel component. Scales with its container. |
|
|
|
| dots | Whether to show the dots at the bottom of the gallery, `object` for `dotsClass` and any others | boolean \| { className?: string } | true | | |
|
|
|
| easing | Transition interpolation function name | string | `linear` | | |
|
|
|
| effect | Transition effect | `scrollx` \| `fade` | `scrollx` | | |
|
|
|
| afterChange | Callback function called after the current index changes | function(current) | - | | |
|
|
|
| beforeChange | Callback function called before the current index changes | function(from, to) | - | | |
|
|
|
| afterChange | Callback function called after the current index changes | (current: number) => void | - | | |
|
|
|
| beforeChange | Callback function called before the current index changes | (current: number, next: number) => void | - | | |
|
|
|
|
|
|
|
## Methods |
|
|
|
|
|
|
|
|
|
@ -34,8 +34,8 @@ demo: |
|
|
|
| dots | 是否显示面板指示点,如果为 `object` 则同时可以指定 `dotsClass` 或者 | boolean \| { className?: string } | true | | |
|
|
|
| easing | 动画效果 | string | `linear` | | |
|
|
|
| effect | 动画效果函数 | `scrollx` \| `fade` | `scrollx` | | |
|
|
|
| afterChange | 切换面板的回调 | function(current) | - | | |
|
|
|
| beforeChange | 切换面板的回调 | function(from, to) | - | | |
|
|
|
| afterChange | 切换面板的回调 | (current: number) => void | - | | |
|
|
|
| beforeChange | 切换面板的回调 | (current: number, next: number) => void | - | | |
|
|
|
|
|
|
|
## 方法 |
|
|
|
|
|
|
|