Skip to main content

Type Alias: ReleaseZoomInput

ReleaseZoomInput = (options?) => Promise<void>

Function

Releases a held wheel-style zoom input. Use on release or cancellation of a hold. Pass the same options used to start it. Any zoom already moving settles smoothly. Pass { pauseAutoRotate: true } to use runtime camera handling and defer idle rotation. Set ignoreDuringZoomAll: true on both calls to ignore presses during Zoom All.

Parameters​

options?​

CameraZoomInputOptions

Returns​

Promise<void>

Example​

const { actions } = window.mimeeqApp;
await actions.applyZoomInput('out', true, { pauseAutoRotate: true });
await actions.releaseZoomInput({ pauseAutoRotate: true });