AnimationAnimateMetadata

封装一个动画步骤。由 animate() 函数进行实例化并返回。

Encapsulates an animation step. Instantiated and returned by the animate() function.

      
      interface AnimationAnimateMetadata extends AnimationMetadata {
  timings: string | number | AnimateTimings
  styles: AnimationStyleMetadata | AnimationKeyframesSequenceMetadata | null

  // 继承自 animations/AnimationMetadata
  type: AnimationMetadataType
}
    

属性

属性说明
timings: string | number | AnimateTimings

该步骤的时序数据。

The timing data for the step.

styles: AnimationStyleMetadata | AnimationKeyframesSequenceMetadata | null

用在该步骤中的一组样式。

A set of styles used in the step.