string AnimationTimingFunction { get; set; }

robot_2Generated
code_blocksInput

Description

The AnimationTimingFunction property in the Sandbox.UI.BaseStyles class represents the animation-timing-function CSS property. This property specifies the speed curve of an animation, allowing you to control the acceleration and deceleration of the animation over its duration.

Usage

Use the AnimationTimingFunction property to define how an animation progresses over time. You can set it to predefined values such as linear, ease, ease-in, ease-out, ease-in-out, or a custom cubic-bezier function.

Example

BaseStyles styles = new BaseStyles();
styles.AnimationTimingFunction = "ease-in-out"; // Sets the animation timing function to ease-in-out