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

1
7

1.3.1

Diff

Changelog

Source

1.3.1 (Dec 9, 2018)

  • Ignore pointer events when not the primary button was pressed (#221).
  • Emulate click (single tap) and double click (double tap) in touch devices to support backdrop and image zooming (#210).
chenfengyuan
published 1.3.0 •

Changelog

Source

1.3.0 (Oct 25, 2018)

  • Fix wrong click action when target image is ignored by the filter option (#211)
  • Add a new option: className (#209).
chenfengyuan
published 1.2.1 •

Changelog

Source

1.2.1 (Oct 20, 2018)

  • Improve viewer instance storage to avoid side-effect.
  • Fix parameter error of Object.assign in iOS devices.
chenfengyuan
published 1.2.0 •

Changelog

Source

1.2.0 (Jul 15, 2018)

  • Enhance the title option to support to customize title content (#54, #185).
  • Add 2 new options: toggleOnDblclick (#173) and initialViewIndex (#183).
chenfengyuan
published 1.1.0 •

Changelog

Source

1.1.0 (May 27, 2018)

  • Make the touch zooming smoother (#162).
  • Add 2 new events: zoom and zoomed (#144).
chenfengyuan
published 1.0.1 •

Changelog

Source

1.0.1 (May 20, 2018)

  • Add a 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).
chenfengyuan
published 1.0.0 •

Changelog

Source

1.0.0 (Apr 1, 2018)

  • Add in browser checking to support import in Node.js.
  • Cancel update when there are no images when calling the update method.
fengyuanchen
published 1.0.0-rc.1 •

Changelog

Source

1.0.0-rc.1 (Mar 13, 2018)

  • 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.
fengyuanchen
published 1.0.0-rc •

Changelog

Source

1.0.0-rc (Mar 10, 2018)

  • Add a new option: loading.
  • Add type definitions file for TypeScript.
  • Enhance the show, hide, and play methods.
  • Change the default value of the loop option from false to true.
fengyuanchen
published 1.0.0-beta.2 •

Changelog

Source

1.0.0-beta.2 (Feb 13, 2018)

  • Add a new option: container.
  • Recover the missing default value of the interval option (#133).
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