动画方法
提供对动画的时序、行为和进度的控制。
动画方法在 Animation 实例对象上可用。
const animation = animate(target, parameters);
┌──────────┐
animation.│pause() │
animation.│play() ├─ Methods
animation.│restart() │
└──────────┘
在本节中
提供对动画的时序、行为和进度的控制。
动画方法在 Animation 实例对象上可用。
const animation = animate(target, parameters);
┌──────────┐
animation.│pause() │
animation.│play() ├─ Methods
animation.│restart() │
└──────────┘