Package-level declarations

Types

Link copied to clipboard
class Keyframes(init: KeyframesBuilder.() -> Unit)

Define a set of keyframes that can later be referenced in animations.

Link copied to clipboard

Functions

Link copied to clipboard
@Composable
fun Keyframes.toAnimation(duration: CSSTimeNumericValue? = null, timingFunction: AnimationTimingFunction? = null, delay: CSSTimeNumericValue? = null, iterationCount: AnimationIterationCount? = null, direction: AnimationDirection? = null, fillMode: AnimationFillMode? = null, playState: AnimationPlayState? = null): Animation.Repeatable
fun Keyframes.toAnimation(colorMode: ColorMode?, duration: CSSTimeNumericValue? = null, timingFunction: AnimationTimingFunction? = null, delay: CSSTimeNumericValue? = null, iterationCount: AnimationIterationCount? = null, direction: AnimationDirection? = null, fillMode: AnimationFillMode? = null, playState: AnimationPlayState? = null): Animation.Repeatable

A convenience method to convert this Keyframes instance into an object that can be passed into Modifier.animation.