ComponentAnimation

ComponentAnimation

ComponentAnimation Object of AppleNewsFormat Properties that all types of animations share.

object ComponentAnimation

Discussion

Apply an animation to a component to add movement and interest to your article.

Note: Don’t use this object type directly. Instead, use objects (such as `doc://com.apple.applenews/documentation/AppleNewsFormat/AppearAnimation, doc://com.apple.applenews/documentation/AppleNewsFormat/FadeInAnimation, doc://com.apple.applenews/documentation/AppleNewsFormat/MoveInAnimation, and doc://com.apple.applenews/documentation/AppleNewsFormat/ScaleFadeAnimation`) that extend animation.

Apple News Format applies a ComponentAnimation just once each time someone views your article. (Compare that with component behaviors whose effects are persistent and happen every time someone sees the component in your article.)

A person can control some animations with an optional userControllable property.

You can use this object in Component.