Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

viewerjs

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

viewerjs - npm Package Versions

13
7

1.10.2

Diff

Changelog

Source

1.10.2 (Oct 22, 2021)

  • 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).
chenfengyuan
published 1.10.1 •

Changelog

Source

1.10.1 (Aug 1, 2021)

  • Check if the active item exists to avoid TypeError (#491).
  • Compute nav item gutter dynamically (#487).
chenfengyuan
published 1.10.0 •

Changelog

Source

1.10.0 (Jun 12, 2021)

  • 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).
chenfengyuan
published 1.9.2 •

Changelog

Source

1.9.2 (May 29, 2021)

  • Avoid conflicts with other modals (#474).
  • Allow ToolbarOption to be undefined (#473).
chenfengyuan
published 1.9.1 •

Changelog

Source

1.9.1 (May 22, 2021)

  • Fix the missing declaration for the focus option (#470).
chenfengyuan
published 1.9.0 •

Changelog

Source

1.9.0 (Dec 6, 2020)

  • 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.
chenfengyuan
published 1.8.0 •

Changelog

Source

1.8.0 (Nov 8, 2020)

  • 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).
chenfengyuan
published 1.7.1 •

Changelog

Source

1.7.1 (Sep 29, 2020)

  • Fix an issue in the types/index.d.ts file (#414).
chenfengyuan
published 1.7.0 •

Changelog

Source

1.7.0 (Sep 26, 2020)

  • Add 2 new events: play and stop (#411).
  • Let the viewed, zoomed, and hidden events not be canceled.
  • Improve the TypeScript declarations in the types/index.d.ts file.
chenfengyuan
published 1.6.2 •

Changelog

Source

1.6.2 (Aug 30, 2020)

  • Improve the hide method for some edge cases (#407).
  • Improve the wheel zoom behavior (#396).
  • Fix wrong usage about this in ES6+ (#395).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc