Skip to content

Releases: fengyuanchen/viewerjs

v1.10.2

22 Oct 14:05
Compare
Choose a tag to compare
  • Increase title height for avoiding truncation (#509).
  • Fix a TypeError when there are not any images (#504).
  • Remove loading class on image load error (#502).

v1.10.1

01 Aug 13:42
Compare
Choose a tag to compare
  • Check if the active item exists to avoid TypeError (#491).
  • Compute nav item gutter dynamically (#487).

v1.10.0

12 Jun 08:06
Compare
Choose a tag to compare
  • Enhance fullscreen option and play method to support FullscreenOptions (#482, #483).
  • Refactor the toggle method for toggling image between current/natural ratio (#477).
  • Improve the toggle method for zooming by double-click (#422).

v1.9.2

29 May 03:55
Compare
Choose a tag to compare
  • Avoid conflicts with other modals (#474).
  • Allow ToolbarOption to be undefined (#473).

v1.9.1

22 May 07:30
Compare
Choose a tag to compare
  • Fix the missing declaration for the focus option (#470).

v1.9.0

06 Dec 11:39
Compare
Choose a tag to compare
  • Add 6 new events: move, moved, rotate, rotated, scale, and scaled.
  • Add an example for limiting the moving range with the help of the move event.

v1.8.0

08 Nov 05:40
Compare
Choose a tag to compare
  • Add a new option: focus .
  • Add ARIA attributes for better accessibility.
  • Add the Tab and Enter keys to the keyboard support.
  • Check if the pointer object is defined or not for better compatibility (#421).

v1.7.1

29 Sep 13:49
Compare
Choose a tag to compare
  • Fix an issue in the types/index.d.ts file (#414).

v1.7.0

26 Sep 07:22
Compare
Choose a tag to compare
  • Add 2 new events: play and stop (#411).
  • Let the viewed, zoomed and hidden events can not be canceled.
  • Improve the TypeScript declarations in the types/index.d.ts file.

v1.6.2

30 Aug 02:37
Compare
Choose a tag to compare
  • Fix wrong usage about this in ES6+ (#395).
  • Improve the wheel zoom behavior (#396).
  • Improve the hide method for some edge cases (#407).