Skip to content

Releases: fengyuanchen/viewerjs

v1.3.1

09 Dec 07:53
Compare
Choose a tag to compare
  • Emulate click (single tap) and double click (double tap) in touch devices to support backdrop and image zooming (#210).
  • Ignore pointer events when not the primary button was pressed (#221).

v1.3.0

25 Oct 12:50
Compare
Choose a tag to compare
  • Add a new option: className (#209).
  • Fix wrong click action when the target image is ignored by the filter option (#211)

v1.2.1

20 Oct 09:36
Compare
Choose a tag to compare
  • Improve viewer instance storage to avoid side effect.
  • Fix parameter error of Object.assign in iOS devices.

v1.2.0

15 Jul 10:30
Compare
Choose a tag to compare
  • Add 2 new options: toggleOnDblclick (#173) and initialViewIndex (#183).
  • Enhance the title option to support to customize title content (#54, #185).

v1.1.0

27 May 07:54
Compare
Choose a tag to compare
  • Add 2 new events: zoom and zoomed (#144).
  • Make the touch zooming more smoother (#162).

v1.0.1

20 May 10:08
Compare
Choose a tag to compare
  • Add namespace to data attribute names (from data-* to data-viewer-*) to avoid side effect.
  • Make sure the image data is a non-null object to avoid unexpected errors.
  • Fix broken zoom feature in iOS browsers (#167).

v1.0.0

01 Apr 05:44
Compare
Choose a tag to compare
  • Add in browser checking to support to import in Node.js.
  • Cancel update when there are no images when call the update method.

v1.0.0-rc.1

13 Mar 14:10
Compare
Choose a tag to compare
  • Fix the wrong image switching behavior in iOS browsers.
  • Fix a TypeError in strict mode (#149).
  • Fix type definitions issue of the show and hide methods.

v1.0.0-rc

10 Mar 13:17
Compare
Choose a tag to compare
  • Add a new option: loading.
  • Add type definitions file for TypeScript.
  • Enhance the show, hide and play methods.
  • Change the default value of loop option from false to true.

v1.0.0-beta.2

13 Feb 13:39
Compare
Choose a tag to compare
  • Add a new option: container.
  • Recover the missing default value of the interval option (#133).