Nzbin Photoviewer Versions Save

🖼️ A JS plugin to view images just like in Windows.

v3.10.0

2 months ago

Features

  • add new option errorMsg to customize the error message (#49)
  • add image alt as the default error message
  • improve the callbacks beforeChange and changed
  • remove .stage-ready .image-ready and use .photoviewer-align-center instead
  • remove redundant codes

v3.9.2

5 months ago
  • fix photoviewer buttons cannot be focused by tab
  • add :focus-visible style for photoviewer modal
  • remove redundant styles

v3.9.1

5 months ago

Bug Fixes

  • fix appendTo type (4d60718be5e29582fe682807780967d74ee63d43)

v3.9.0

5 months ago

Features

  • use ES module as main entry (ccd630a0fdd9d68ec2fcaa6a53f83abf7af74265)
  • update domq.js to 0.7.x (7670ec4ca279e944043ba50cd43280ef5984b5b0)

v3.8.1

8 months ago

Bug Fixes

  • fix types (a1aea3acd086e653877b577abe431d3b01d3d495)

v3.8.0

8 months ago

Features

  • add new option animationEasing
  • allow pass empty image array to PhotoViewer
  • rename instance vars (groupData => images, groupIndex => index)
  • remove unused vars and improve some methods

v3.7.3

8 months ago

Bug Fixes

  • fix global name for cjs (0c9c9d1628ae0148000da6cc7fd6c8a22c40bc48)
  • fix types (a8056a599eb18a0bdfcffd1e4dcb9d10bcd075ec) (c715144f6a77d53361384178d8fef297bace13f0)

v3.7.2

9 months ago
  • update domq.js to 0.6.8 to fix memory leaks caused by using .remove()
  • add PhotoViewer.instances to manage multiple modals
  • remove redundant .off() methods

v3.7.1

1 year ago
  • remove the style field in the package.json

v3.7.0

1 year ago

BREAKING CHANGES

  • renaming the source folder sass to scss

Features

  • rebuild with Dart Sass @use-based API

    @use 'photoviewer';