Animation configuration (primarily for web display)

interface AnimationOptions {
    durationMs?: number;
    ease?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out";
    enabled?: boolean;
    preferCSS?: boolean;
    staggerMs?: number;
}

Properties

durationMs?: number

Animation duration in milliseconds

ease?: "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out"

Easing function

enabled?: boolean

Enable animations (default: false for print-first)

preferCSS?: boolean

Prefer CSS animations over inline JS

staggerMs?: number

Stagger delay between items in milliseconds