Skip to content

AutoZoomOptions

AutoZoomOptions = object

Defined in: types.ts:250

optional amount?: number

Defined in: types.ts:254

0–1: fraction of output dimensions visible in the zoomed viewport (default 0.65)


optional centering?: number

Defined in: types.ts:258

0–1: visibility bias inside the zoomed viewport; 0 = barely fit, 1 = centered.


optional duration?: number

Defined in: types.ts:252


optional easing?: Easing

Defined in: types.ts:251


optional padding?: number

Defined in: types.ts:256

0–1: extra locator framing applied as a uniform scale multiplier (default 0.2 = 20% larger box).


optional postZoomDelay?: number

Defined in: types.ts:262

Delay in milliseconds to hold the full view after the zoom-out animation completes.


optional preZoomDelay?: number

Defined in: types.ts:260

Delay in milliseconds to hold the zoomed-in state after the zoom-in animation completes.