Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'fix(docs):chart.legend文档,分页属性名错误修改' #6496

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 24 additions & 3 deletions site/docs/spec/common/navigator.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,28 @@ desc: 分页器属性选项
| ------------ | -------------------------------------------------------------- | -------------------------------------------------------------------------- | ------------ |
| navEffect | 翻页显示效果 | 参见 [Web Animations API](https://g-next.antv.vision/api/animation/waapi/) | linear |
| navDuration | 单次翻页动效时长 | `number` | 200 |
| navOrient | 翻页滚动方向<br/> - 横向`'horizontal'`<br/> - 纵向`'vertical'` | `'horizontal'`\|`'vertical'` | 'horizontal' |
| navInitPage | 默认展示页数 | `number` | 0 |
| navLoop | 是否启用循环翻页 | `boolean` | false |
<!-- 原文档: navOrient 是无效的; -->
| navOrientation | 翻页滚动方向<br/> - 横向`'horizontal'`<br/> - 纵向`'vertical'` | `'horizontal'`\|`'vertical'` | 'horizontal' |
<!-- 原文档: navInitPage 是无效的; 测试值: 0是第一页, 1是第二页; -->
| navDefaultPage | 默认展示页数 | `number` | 0 |
<!-- 设置为true后没效果, 应该是能力层的问题 -->
| navLoop | 是否启用循环翻页 | `boolean` | false |
<!-- 原文档缺失: 设置分页数字颜色 -->
| navPageNumFill | 分页数字颜色 | `string` | - |
<!-- 原文档缺失: 设置分页数字大小 -->
| navPageNumFontSize | 分页数字大小 | `number` | - |
<!-- 原文档缺失: 设置分页数字透明度 -->
| navPageNumOpacity | 分页数字透明度 | `number` | - |
<!-- 原文档缺失: 设置分页数字描边 -->
| navPageNumStroke | 分页数字描边 | `string` | - |
<!-- 原文档缺失: 设置分页数字描边透明度 -->
| navPageNumStrokeOpacity | 分页数字描边透明度 | `number` | - |
<!-- 原文档缺失: 设置分页按钮颜色 -->
| navButtonFill | 分页按钮颜色 | `string` | - |
<!-- 原文档缺失: 设置分页按钮透明度 -->
| navButtonOpacity | 分页数按钮透明度 | `number` | - |
<!-- 原文档缺失: 设置分页按钮描边颜色 -->
| navButtonStroke | 分页按钮描边颜色 | `string` | - |
<!-- 原文档缺失: 设置分页按钮透明度 -->
| navButtonStrokeOpacity | 分页按钮描边透明度 | `number` | - |
| navFormatter | 页码文本格式化 | `(current: number, total: number) => string;` | - |