填寫這份《一分鐘調查》,幫我們(開發組)做得更好!去填寫Home

useAnimation

啟動一個使用 animation() 函式建立的可複用動畫。

Starts a reusable animation that is created using the animation() function.

      
      useAnimation(animation: AnimationReferenceMetadata, options: AnimationOptions = null): AnimationAnimateRefMetadata
    
引數
animation AnimationReferenceMetadata

要啟動的可複用動畫。

The reusable animation to start.

options AnimationOptions

一個配置物件,它包含一個啟動動畫之前的延遲值,和一些由開發人員定義的改寫引數值。

An options object that can contain a delay value for the start of the animation, and additional override values for developer-defined parameters.

可選. 預設值是 `null`.
返回值

一個包含動畫引數的物件。

AnimationAnimateRefMetadata: An object that contains the animation parameters.