animation-play-state CSS 属性设置动画是运行还是暂停。
| Web | Android | iOS | HarmonyOS | |||
|---|---|---|---|---|---|---|
| VDOM | Vapor | VDOM | Vapor | VDOM | Vapor | |
| 4.0 | x | 5.31 | x | 5.31 | x | 5.31 |
| Android(Vapor) | iOS(Vapor) | HarmonyOS(Vapor) |
|---|---|---|
| 5.31 | 5.31 | x |
animation-play-state: <single-animation-play-state>#;
| 名称 | 描述 |
|---|---|
| paused | 当前动画已被停止。 |
| running | 当前动画正在运行。 |
running