bga-animations
    Preparing search index...

    Interface ParallelAnimation

    Extra animation to apply to another element while main animation is played. Will have the same duration.

    interface ParallelAnimation {
        applyTo?: "element" | "wrapper" | "intermediate";
        applyToElement?: HTMLElement;
        keyframes: Keyframe[];
    }
    Index

    Properties

    applyTo?: "element" | "wrapper" | "intermediate"

    Element to apply the animation to, if applyToElement is not set. Default to 'intermediate'. 'wrapper': will apply the animation directly on the wrapper. 'intermediate': will apply the animation on a new wrapper inserted between the main wrapper and the element. 'element': will apply the animation directly on the animated element.

    applyToElement?: HTMLElement

    Element to apply the animation to. If not set, will use applyTo.

    keyframes: Keyframe[]

    Keyframes of the animation.