Skip to content

Commit

Permalink
docs: fix typo (#6244)
Browse files Browse the repository at this point in the history
* docs: fix typo

* docs: fix typo
  • Loading branch information
LoTwT authored May 25, 2024
1 parent 0f7dc62 commit 46c4a8b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion site/docs/manual/core/animation.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ G2 也提供了 StackEnter 标记转换来实现分组动画,该标记转换

## 关键帧动画

上面的动画都是过度动画,不涉及到数据的更新,G2 也提供了制作关键帧动画的能力。使用 `chart.timingKeyframe` 创建一个时间容器,用于放置一系列视图,它会对这些视图中有关系的图形元素应用平滑的过渡效果。而对应关系通过 **key****groupKey** 两个通道指定。
上面的动画都是过渡动画,不涉及到数据的更新,G2 也提供了制作关键帧动画的能力。使用 `chart.timingKeyframe` 创建一个时间容器,用于放置一系列视图,它会对这些视图中有关系的图形元素应用平滑的过渡效果。而对应关系通过 **key****groupKey** 两个通道指定。

```js | ob
(async () => {
Expand Down
2 changes: 1 addition & 1 deletion site/docs/manual/core/state.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 状态(State)
order: 6.9
---

G2 中**状态(State)** 主要用来控制标记的状态样式。这些状态会被交互触法,属性是 @antv/g 支持的样式属性。
G2 中**状态(State)** 主要用来控制标记的状态样式。这些状态会被交互触发,属性是 @antv/g 支持的样式属性。

```js
({
Expand Down
2 changes: 1 addition & 1 deletion site/docs/spec/composition/timingKeyframe.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fetch(

| 属性 | 描述 | 类型 | 默认值 |
| -------------- | ------------------------------------------------------------- | -------- | ---------- |
| duration | 每一视图的动画过度事件 | `number` | 1000 |
| duration | 每一视图的动画过渡时间 | `number` | 1000 |
| iterationCount | `'infinite' \| number` | | 1 |
| direction | `'normal' \| 'reverse' \| 'alternate' \| 'reverse-alternate'` | `number` | `'normal'` |
| children | 执行动画的视图节点 | `Node[]` | `[]` |

0 comments on commit 46c4a8b

Please sign in to comment.