@laubloch/scrolly-motion
Version:
Advanced scroll animation library with breakpoint support, timeline presets.
20 lines (19 loc) • 697 B
TypeScript
/**
* ScrollyMotion Animation Parser
* Handles parsing of standard animations and breakpoints.
*/
import type { AnimationConfig, TimelineStep } from "../../types";
import type { PluginManager } from "../PluginManager";
export declare class AnimationParser {
private timelinePresets;
private mediaQueries;
private timelineParser;
private valueParser;
constructor(timelinePresets: Map<string, TimelineStep[]>, mediaQueries: Map<string, MediaQueryList>, pluginManager: PluginManager);
parse(animationStr: string): AnimationConfig | null;
private parseBreakpoints;
private processConfig;
private parsePart;
private parseProps;
private getActiveConfig;
}