Skip to content

Releases: kingdido999/zooming

2.1.1

16 Jan 18:39
Compare
Choose a tag to compare

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

2.0.0

08 Apr 04:54
Compare
Choose a tag to compare

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

02 Apr 04:44
Compare
Choose a tag to compare

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

1.4.2

10 Mar 06:15
Compare
Choose a tag to compare

Support srcset for hi-res image #59.

1.4.1

19 Feb 18:11
Compare
Choose a tag to compare
  • Add back babel-plugin-transform-object-assign #53
  • Add .babelrc to .npmignore #54

1.4.0

18 Feb 20:00
Compare
Choose a tag to compare

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

1.3.1

17 Feb 19:15
Compare
Choose a tag to compare

Support pkg.module for rollup.

1.3.0

11 Feb 22:41
Compare
Choose a tag to compare

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

1.2.7

07 Jan 03:04
Compare
Choose a tag to compare

Fix CSS grid display issue in Chrome #42.

1.2.6

04 Nov 19:26
Compare
Choose a tag to compare
  • Fix onGrab and onMove event hooks.
  • Rewrite documentation page.