Skip to content

Releases: fengyuanchen/viewerjs

v1.6.1

14 Jun 07:51
Compare
Choose a tag to compare
  • Improve image filtering.

v1.6.0

06 Jun 11:33
Compare
Choose a tag to compare
  • Add a new options: inheritedAttributes.
  • Ignore images without the src attribute (#326).
  • Improve the hide method for unexpected calling (#367).
  • Reset the padding right of the body element when resizing (#379).
  • Remove unnecessary padding-right: 0px from the body element when close the viewer modal (#394).

v1.5.0

23 Nov 05:16
Compare
Choose a tag to compare
  • Force reflow element in a new way to avoid side effect (#343).
  • Add a new option: slideOnTouch (#340).
  • Detect if the queried image is existing when update image list (#333).

v1.4.0

26 Oct 07:36
Compare
Choose a tag to compare
  • Add two new options: zoomOnTouch and zoomOnWheel (#329).

v1.3.7

02 Oct 09:46
Compare
Choose a tag to compare
  • Do nothing if the index value is invalid when call the view method (#312).
  • Ignore invalid element parameter on the class utility functions (#317).
  • Improve event type determining for iOS 13+ (#321).

v1.3.6

04 Jul 11:24
Compare
Choose a tag to compare
  • Avoid using the innerHTML property for security (#269).
  • Avoid escaping URLs (#298, #301).

v1.3.5

29 Jun 10:36
Compare
Choose a tag to compare
  • Improve the escaping function to avoid to escape HTML entities repeatedly.

v1.3.4

01 Jun 03:35
Compare
Choose a tag to compare
  • Escape all strings that use in HTML for better security (#269).
  • Fix the missing fade out transition when hiding the viewer (#275).
  • Decode image name when it comes from URL (#282).

v1.3.3

06 Apr 14:17
Compare
Choose a tag to compare
  • Fix unexpected modal exiting behavior when the mouse is pressed (#255).
  • Abort image downloading when cancel viewing for better performance.

v1.3.2

24 Jan 11:32
Compare
Choose a tag to compare
  • Fix Document not active error when calling the exit method.
  • Improve wheel event listening for better performance (#102).