Skip to content

Zoom Image Svelte

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

useZoomImageWheel - 2.64 KB

ts
function useZoomImageWheel(): {
  createZoomImage
  zoomImageState
  setZoomImageState
}

useZoomImageHover - 1.75 KB

ts
function useZoomImageHover(): {
  createZoomImage
  zoomImageState
  setZoomImageState
}

useZoomImageMove - 1.5 KB

ts
function useZoomImageMove(): {
  createZoomImage
  zoomImageState
}

useZoomImageClick - 1.4 KB

ts
function useZoomImageClick(): {
  createZoomImage
  zoomImageState
}