AnimationQueryMetadata

封装一个动画查询。由 query() 函数实例化并返回。

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

      
      interface AnimationQueryMetadata extends AnimationMetadata {
  selector: string
  animation: AnimationMetadata | AnimationMetadata[]
  options: AnimationQueryOptions | null

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

属性

属性说明
selector: string

该查询的 CSS 选择器。

The CSS selector for this query.

animation: AnimationMetadata | AnimationMetadata[]

一个或多个动画步骤对象。

One or more animation step objects.

options: AnimationQueryOptions | null

一个查询选项对象。

A query options object.