Show Menu
TOPICS×

zoomMode

Sets the type of zoom interaction.
zoomMode=continuous|inline|auto
continuous|inline|auto
continuous enables classic zoom where the image gradually zooms in as you click, double-tap, or pinch out in the main view. You need to explicitly zoom out or reset the zoom state to get back to the initial view.
inline enables instant zoom, where the zoomed image instantly appears as you hover the main view on desktop or to touch and hold on a touch device; image automatically reverts to initial state once you move your mouse from the view or release your finger. Note that in inline mode nested image sets are flattened and displayed as individual thumbnails. auto activates inline mode on desktop and continuous mode on touch devices.

Properties

Optional.

Default

continuous

Example

zoomMode=auto