Interface CombineConfig

interface CombineConfig {
    aborted?: Function;
    additive?: boolean;
    delay?: number;
    dividePath?: DividePath;
    done?: Function;
    duration?: number;
    during?: ((percent) => void);
    easing?: AnimationEasing;
    force?: boolean;
    individualDelay?: IndividualDelay;
    scope?: string;
    setToFinal?: boolean;
}

Hierarchy (view full)

Properties

aborted?: Function
additive?: boolean

If use additive animation.

delay?: number
dividePath?: DividePath

Transform of returned will be ignored.

done?: Function
duration?: number
during?: ((percent) => void)

Type declaration

    • (percent): void
    • Parameters

      • percent: number

      Returns void

easing?: AnimationEasing
force?: boolean

If force animate Prevent stop animation and callback immediently when target values are the same as current values.

individualDelay?: IndividualDelay

delay of each individual. Because individual are sorted on z-order. The index is also sorted top-left / right-down.

scope?: string
setToFinal?: boolean

If set to final state before animation started. It can be useful if something you want to calcuate depends on the final state of element. Like bounding rect for text layouting.

Only available in animateTo