AngularTS
    Preparing search index...

    Interface AnimationOptions

    Normalized animation options and (in some cases) internal queue state.

    This type is used widely in the animation subsystem:

    • As the normalized options object passed down to drivers.
    • As the mutable “details/state” object stored on active animations (queue internals).

    Note: This interface currently includes both user-facing options (e.g. duration, easing, addClass) and internal fields (e.g. state, counter, runner). If stronger separation is desired, consider splitting into AnimationOptions (public config) + AnimationState (internal runtime fields).

    interface AnimationOptions {
        _domOperationFired?: boolean;
        _prepared?: boolean;
        _skipPreparationClasses?: boolean;
        activeClasses?: string;
        addClass?: string;
        applyClassesEarly?: boolean;
        beforeStart?: () => void;
        classes?: string | string[];
        cleanupStyles?: boolean;
        close?: (reject?: boolean) => void;
        counter?: number;
        delay?: string;
        domOperation?: () => void;
        duration?: string | number;
        easing?: string;
        element?: HTMLElement;
        event?: string | string[];
        from?: Record<string, string | number>;
        keyframeStyle?: string;
        onDone?: () => void;
        options?: AnimationOptions;
        preparationClasses?: string;
        removeClass?: string;
        runner?: AnimateRunner;
        skipBlocking?: boolean;
        stagger?: string | number;
        staggerIndex?: number;
        state?: number;
        structural?: boolean;
        tempClasses?: string | string[];
        to?: Record<string, string | number>;
        transitionStyle?: string;
    }
    Index

    Properties

    _domOperationFired?: boolean

    Internal flag: whether domOperation has fired.

    _prepared?: boolean

    Internal flag: whether preparation has been performed.

    _skipPreparationClasses?: boolean

    Internal flag: skip preparation classes.

    activeClasses?: string

    Generated active classes applied while animation runs.

    addClass?: string

    Space-separated CSS classes to add to element.

    applyClassesEarly?: boolean

    Whether to apply classes before measuring styles (driver/queue).

    beforeStart?: () => void

    Internal: hook invoked before driver start to apply classes/styles.

    classes?: string | string[]

    Space-separated or list of CSS classes involved in the animation.

    cleanupStyles?: boolean

    Whether to clean up styles after animation completes.

    close?: (reject?: boolean) => void

    Internal: close handler for queued animations.

    counter?: number

    Internal: monotonically increasing counter for queued/cancelled animations.

    delay?: string

    Delay override (string as parsed from computed styles is common).

    domOperation?: () => void

    Optional DOM operation callback executed before animation.

    duration?: string | number

    Duration override (seconds/ms string or number depending on implementation).

    easing?: string

    Easing override for the animation.

    element?: HTMLElement

    Target element for the animation (internal convenience).

    event?: string | string[]

    Event name(s) for multi-event animations (internal).

    from?: Record<string, string | number>

    CSS properties & values at the beginning of animation.

    keyframeStyle?: string

    Driver-specific keyframe style key.

    onDone?: () => void

    Optional completion callback (driver/queue dependent).

    Internal: nested options/details reference used during merges.

    preparationClasses?: string

    Generated preparation classes applied before animation start.

    removeClass?: string

    Space-separated CSS classes to remove from element.

    runner?: AnimateRunner

    Internal: runner associated with this animation.

    skipBlocking?: boolean

    Whether to skip blocking behavior (internal/driver).

    stagger?: string | number

    Stagger duration or configuration.

    staggerIndex?: number

    Stagger index for staggered sequences (internal).

    state?: number

    Internal: queue state marker (e.g. PRE_DIGEST/RUNNING).

    structural?: boolean

    Whether this is a structural animation (enter/leave/move).

    tempClasses?: string | string[]

    CSS classes applied temporarily during animation.

    to?: Record<string, string | number>

    CSS properties & values at end of animation.

    transitionStyle?: string

    Driver-specific transition style key.