Zooming Versions Save

🔍 Image zoom that makes sense.

2.1.1

5 years ago

Drop webkit vendor prefixes to fix Firefox cursor issue #116.

2.0.0

5 years ago

Improve UI Testing

Add end-to-end testing using cypress. #55

Breaking changes

  1. No longer listen to images with data-action="zoom" on initialization #68.
  2. Remove defaultZoomable option.

All of the following will no longer make images zoomable:

  1. Simply include a script.

  2. Initialize a Zooming instance:

new Zooming()
  1. Initialize a Zooming instance with defaultZoomable:
new Zooming({
    defaultZoomable: '.img-zoomable'
})

Instead, please ALWAYS call .listen() on target images after creating a Zooming instance:

const zooming = new Zooming({
    // options...
})

zooming.listen('.img-zoomable')

1.5.0

5 years ago

Support percentage value of the original image size in option customSize. #60 #61 #65

1.4.2

6 years ago

Support srcset for hi-res image #59.

1.4.1

6 years ago
  • Add back babel-plugin-transform-object-assign #53
  • Add .babelrc to .npmignore #54

1.4.0

6 years ago

Use the latest Rollup API to build bundles #52 with pkg.module support, which was suggested by @mahish .

1.3.1

6 years ago

Support pkg.module for rollup.

1.3.0

6 years ago

Support specifying individual image width and height after zoom-in #47 .

1.2.7

6 years ago

Fix CSS grid display issue in Chrome #42.

1.2.6

6 years ago
  • Fix onGrab and onMove event hooks.
  • Rewrite documentation page.