Skip to content

AutoZoomOptions

AutoZoomOptions = object

Defined in: types.ts:520

optional amount?: number

Defined in: types.ts:527

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


optional centering?: number

Defined in: types.ts:531

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


optional delay?: number

Defined in: types.ts:533

Delay in milliseconds before the internally triggered zoom-out.


optional delayAfter?: number

Defined in: types.ts:535

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


optional duration?: number

Defined in: types.ts:523

Duration in milliseconds for zoom-in transitions.


optional easing?: Easing

Defined in: types.ts:521


optional padding?: number

Defined in: types.ts:529

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


optional zoomOutDuration?: number

Defined in: types.ts:525

Duration in milliseconds for zoom-out transitions. Defaults to duration if not set.