module
transform
GSAP-style transform properties (x, y, rotation, scale, …) composed into one CSS transform, plus property-name helpers.
Structs
- Transform
One element's transform state.
Functions
canonical
pub fn canonical(prop: &str) -> &strThe canonical transform name for an alias (rotate → rotation).
is_transform
pub fn is_transform(prop: &str) -> boolWhether prop is part of transform (x, rotate, scale…), in any of its spellings.
kebab
pub fn kebab(prop: &str) -> StringbackgroundColor → background-color (custom properties untouched).
Constants
TRANSFORM_PROPS
pub const TRANSFORM_PROPS: &[(&str, f64, &str)] = _;Transform components and their defaults and units.