docs(RollingText): update docs (#11988)

This commit is contained in:
cunzaizhuyi 2023-06-17 09:31:47 +08:00 committed by GitHub
parent c5792be650
commit 2844d04a5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ export default {
| target-num | Target number | _number_ | - |
| text-array | Text array | _Array_ | `[]` |
| duration | Duration of the animation, in seconds | _number_ | `2` |
| direction | Rolling direction of the number, with `down` and `up` as the values | _string_ | `down` |
| direction | Rolling direction of the text, with `down` and `up` as the values | _string_ | `down` |
| auto-start | Whether to start the animation | _boolean_ | `true` |
| stop-order | Order of stopping the animation of each digit, with `ltr` and `rtl` as the values | _string_ | `ltr` |

View File

@ -163,7 +163,7 @@ export default {
| target-num | 目标数值 | _number_ | - |
| text-array | 内容数组,翻转非数字内容,需要传此参数 | _Array_ | `[]` |
| duration | 动画时长,单位为秒 | _number_ | `2` |
| direction | 数值翻滚方向,值为 `down``up` | _string_ | `down` |
| direction | 文本翻滚方向,值为 `down``up` | _string_ | `down` |
| auto-start | 是否自动开始动画 | _boolean_ | `true` |
| stop-order | 各个数位动画停止先后顺序,值为 `ltr``rtl` | _string_ | `ltr` |