Interface ScaleAnimationConfig

Source
Expand description

Configuration for scale animation.

interface ScaleAnimationConfig {
    duration?: number;
    scaleFactor?: number;
    type: "scale";
}

Properties§

Source§

duration?: number

Duration of the animation in milliseconds.

default
300
Source§

scaleFactor?: number

Initial scale factor for the modal (0-1).

default
0.8
Source§

type: "scale"