Give us feedback
panzoom-reactive
Reactive icon

Panzoom Reactive

Stable version 1.0.1 (Compatible with OutSystems 11)
Uploaded on 16 November 2023 by 
0.0
 (0 ratings)
panzoom-reactive

Panzoom Reactive

Details
A widget to display content that can be panned and zoomed by using mouse or touch.
Read more

Panzoom provides a web block that displays a container with a content placeholder and allows the user to pan and zoom the content within the container by using mouse or touch events. Panning and zooming is realized with CSS transforms to take advantage of hardware/GPU acceleration in the browser, which means the element can be everything from an image or text to a canvas or iframe.

The component is suitable for both mobile and desktop browsers as it uses pointer events (https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events) and falls back to touch and mouse events.

This asset is based on the JavaScript component done by Timmy Willison.

A full tutorial on how this component was built and how to use it can be found on medium: https://medium.com/itnext/panning-and-zooming-images-in-outsystems-29fefed6a4fb

Release notes (1.0.1)
  • OutSystemsUI update
  • Tidied up dependencies
License (1.0.1)

MIT License (mit-license.org)

Reviews (0)
Team