Raxol.Animation.DSL.Transforms (Raxol v2.6.0)

View Source

Transform calculation functions for the Animation DSL.

Computes CSS-style transform strings for slide animations.

Summary

Functions

Calculates from/to transforms for a slide-in animation.

Calculates from/to transforms for a slide-out animation.

Calculates from/to transforms for a generic slide (relative movement).

Functions

calculate_slide_in_transform(direction, distance)

Calculates from/to transforms for a slide-in animation.

calculate_slide_out_transform(direction, distance)

Calculates from/to transforms for a slide-out animation.

calculate_slide_transform(direction, distance)

Calculates from/to transforms for a generic slide (relative movement).