Skip to content

Zoom Image Preact

The @zoom-image/preact adapter is a wrapper around the core zoom image logic.

useZoomImageWheel - 3.33 KB

ts
function useZoomImageWheel(): {
  createZoomImage
  zoomImageState
  setZoomImageState
}

useZoomImageHover - 2.46 KB

ts
function useZoomImageHover(): {
  createZoomImage
  zoomImageState
  setZoomImageState
}

useZoomImageMove - 2.21 KB

ts
function useZoomImageMove(): {
  createZoomImage
  zoomImageState
}

useZoomImageClick - 2.11 KB

ts
function useZoomImageClick(): {
  createZoomImage
  zoomImageState
}