Releases: jmalarcon/jquery.pan
v6.0.0
- Enhanced wheel and touch events for better CLS metrics for Google Performance and SEO, with:
- Passive events
- Event throttling to better control zoom speed in those cases
- New
wheelZoomSpeed
option to control that speed
- Changed button images to SVG for faster download, and added slight contrast shadow to make them visible in any background
- Removed support for Internet Explorer, reducing the size and complexity of the package.
- Updated npm dev packages to latest versions
v5.0.1
v5.0.0
- Added the ability to apply zoom & pan to dynamically added images (see example at the end fo the
index.html
file. - Added an options parameter to specify initialization options the first time the
pan
method is called - Added a new option to delay the loading of images
The new options object breaks compatibility with previous versions but it's under control and will work with the old boolean parameter to determine if rotation controls should be used, but it's deprecated.
Thanks to @MobCode100 for the initial pull request.
v4.0.1
- Add support for wrapping links: new button for navigating to the link if the image is wrapped in a
<a>
tag, that maintains the originaltitle
andtarget
attributes. - Added support to zoom several images inside the same container element (check the sample page)
- Changed the way buttons are positioned
- Modernizing some parts of the code
- New images and CSSs, so you need to update those too
v3.0.3 - Rotation state
Prevent rotation state to be kept between uses
V3.0.2 - Bug fixed
A bug was fixed for a misaligned code line that prevented the pan()
method returning the resulting elements where the zoom was applied.
v3.0 - Image rotation support
This 3.x version adds support for image rotation.
Because of that I needed to change the way the zoom image got positioned, from absolute positioning to 2D transforms. This, and the rotation
transform has made the plugin not compatible with Internet Explorer versions before IE10, and I've bumped the version to 3.0 from 2.0.
You can disable the image rotation feature in blogs or other similar contexts by passing a false
to the pan()
method.
V 2.2 - Enhanced icons, loading indicator
- The original zoom in, zoom out and close icons were not easily spotted with very dark or very light big images. I've added a subtle glow effect and they are now very easily spotted under all circumstances.
- Added support for an animated loading indicator that is shown while the big image loads.
- Fixed: When a new image was loaded the previous zoomed one was shown while the new loaded. Now the previous one is unloaded before the new starts to load.
v 2.0.2
v2.0.1
- Automatically add zoom and pan to any images or elements with images
- Auto-apn alongside pointer movement
- Zoom in and out support. You can increase or decrease the zoom level with specific buttons or with the mouse wheel
- Support for mobile devices. You can pan dragging the zoomed image
- Support from IE8+ and modern desktop and mobile browsers