Skip to main content

parse_style_animation_vec

Function parse_style_animation_vec 

Source
pub fn parse_style_animation_vec(
    input: &str,
) -> Result<StyleAnimationVec, StyleAnimationParseError<'_>>
Expand description

The full animation value: a COMMA-SEPARATED list, one entry per animation, so different properties can animate on different clocks (animation: width 1s linear, color 2s ease-out).

§Errors

Returns the first entry’s StyleAnimationParseError — one bad entry fails the whole declaration, matching CSS list-valued shorthand rules.