Skip to main content

parse_animations

Function parse_animations 

Source
pub fn parse_animations(value: &str) -> Vec<AnimationSpec>
Expand description

animation ショートハンドをカンマ区切りの全項目についてパースする。 例: “fade 1s, bounce 2s infinite” → 2つの AnimationSpec