Menu
Libraries |
Category

svelte-zoom

  • Purpose: Provides nearly native image scaling functionality for both mobile and desktop, enhancing user experience in gallery-like applications.
  • Key Features:
    • Mobile Support: Pinch, pan, and touch move gestures.
    • Desktop Support: Mouse wheel and mouse move interactions.
    • General Features:
      • Automatic maximum scaling calculation.
      • Image aspect ratio preservation.
      • Lightweight and designed to feel "native".
  • Target Audience: Developers building Svelte applications requiring image zooming functionality, particularly for mobile and desktop gallery-style interfaces.
  • Svelte Support: Primarily designed for Svelte, with easy integration via the <Zoom> component.
  • Demo: Preview fa-solid fa-up-right-from-square.
  • Note: The image must occupy the full width and height of the page for proper functionality.

svelteimagepinch-to-zoommobilezoombrowser

Comments