Skip to content

AutoZoomOptions

AutoZoomOptions = object

Defined in: types.ts:642

optional amount?: number

Defined in: types.ts:655

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


optional centering?: number

Defined in: types.ts:659

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


optional delay?: number

Defined in: types.ts:661

Delay in milliseconds before the internally triggered zoom-out.


optional delayAfter?: number

Defined in: types.ts:663

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


optional duration?: number

Defined in: types.ts:651

Duration in milliseconds for zoom-in transitions.


optional easing?: Easing

Defined in: types.ts:649


optional editId?: string

Defined in: types.ts:648

Stable identity slug for the web editor (e.g. autoZoom2). Stamped automatically by screenci sync; not a zoom setting and never marks the block as code-locked.


optional padding?: number

Defined in: types.ts:657

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


optional zoomOutDuration?: number

Defined in: types.ts:653

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