AutoZoomOptions
AutoZoomOptions =
object
Defined in: types.ts:251
Properties
Section titled “Properties”allowZoomingOut?
Section titled “allowZoomingOut?”
optionalallowZoomingOut?:boolean
Defined in: types.ts:271
When false, the camera never zooms out beyond the initial amount to fit large element rects. Defaults to true.
amount?
Section titled “amount?”
optionalamount?:number
Defined in: types.ts:255
0–1: fraction of output dimensions visible in the zoomed viewport (default 0.5)
centering?
Section titled “centering?”
optionalcentering?:object
Defined in: types.ts:261
Per-locator-type centering (0–1). 1 = camera always centers on target (no dead zone). 0 = camera only moves if target exits the viewport. 0.5 = target can move freely in the center 50% without panning. Defaults: cursor=0.5, input=1, click=0.5
click?
Section titled “click?”
optionalclick?:number
How tightly the camera follows cursor moves that precede a click (default 0.5)
cursor?
Section titled “cursor?”
optionalcursor?:number
How tightly the camera follows free cursor movements (default 0.5)
input?
Section titled “input?”
optionalinput?:number
How tightly the camera follows input/ZoomMove targets (default 1)
duration?
Section titled “duration?”
optionalduration?:number
Defined in: types.ts:253
easing?
Section titled “easing?”
optionaleasing?:Easing
Defined in: types.ts:252
postZoomInOutDelay?
Section titled “postZoomInOutDelay?”
optionalpostZoomInOutDelay?:number
Defined in: types.ts:275
Delay in milliseconds to hold the zoomed-in state after the zoom-in animation completes, and to hold the full view after the zoom-out animation completes. Defaults to 500.