File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/graphics-and-animation Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -112,18 +112,18 @@ import BounceEaseInScreenshot from '/img/guides/graphics-and-animations/bounce-e
112
112
113
113
## 重复
114
114
115
- 您可以使动画重复一定次数,或无限次数。要重复有限次数的动画,请在动画元素上设置 ` RepeatCount ` 属性,例如:
115
+ 您可以使动画重复一定次数,或无限次数。要重复有限次数的动画,请在动画元素上设置 ` IterationCount ` 属性,例如:
116
116
117
117
``` xml
118
- <Animation RepeatCount =" 5" >
118
+ <Animation IterationCount =" 5" >
119
119
...
120
120
</Animation >
121
121
```
122
122
123
123
要无限次地重复动画,请使用特殊值 ` INFINITE ` 。例如:
124
124
125
125
``` xml
126
- <Animation RepeatCount =" INFINITE" >
126
+ <Animation IterationCount =" INFINITE" >
127
127
...
128
128
</Animation >
129
129
```
@@ -133,7 +133,7 @@ import BounceEaseInScreenshot from '/img/guides/graphics-and-animations/bounce-e
133
133
默认情况下,动画正向播放,即它按照缓动函数的曲线从左向右进行。您可以通过设置动画元素的 ` PlaybackDirection ` 属性来改变这种行为。例如:
134
134
135
135
``` xml
136
- <Animation RepeatCount =" 9" PlaybackDirection =" AlternateReverse" >
136
+ <Animation IterationCount =" 9" PlaybackDirection =" AlternateReverse" >
137
137
...
138
138
</Animation >
139
139
```
@@ -147,7 +147,7 @@ import BounceEaseInScreenshot from '/img/guides/graphics-and-animations/bounce-e
147
147
动画的填充模式属性定义了动画运行后,属性如何持续保留或在运行之间的任何间隙中显示。例如:
148
148
149
149
``` xml
150
- <Animation RepeatCount =" 9" FillMode =" Backward" >
150
+ <Animation IterationCount =" 9" FillMode =" Backward" >
151
151
...
152
152
</Animation >
153
153
```
You can’t perform that action at this time.
0 commit comments