VideoUltra API
    Preparing search index...

    Interface TransitionPreset

    A transition the user can pick. id goes into item.transitionIn.type.

    interface TransitionPreset {
        category: TransitionCategory;
        defaultDuration?: number;
        directions?: readonly ("left" | "right" | "up" | "down")[];
        ease:
            | "linear"
            | "smooth"
            | "ease-in"
            | "ease-out"
            | "snappy"
            | "expo"
            | "back"
            | "anticipate"
            | "bounce"
            | "elastic"
            | "ball"
            | "slow-mo"
            | "steps";
        id: string;
        label: string;
    }
    Index
    defaultDuration?: number

    Suggested length in seconds (default 0.5).

    directions?: readonly ("left" | "right" | "up" | "down")[]

    Directions it can move in (transitionIn.direction); the first is the default.

    ease:
        | "linear"
        | "smooth"
        | "ease-in"
        | "ease-out"
        | "snappy"
        | "expo"
        | "back"
        | "anticipate"
        | "bounce"
        | "elastic"
        | "ball"
        | "slow-mo"
        | "steps"

    The curve it uses when transitionIn.ease is missing.

    id: string
    label: string