/zoom.js

Medium's Image Zoom (exprimental)

Primary LanguageJavaScriptMIT LicenseMIT

ZOOM.JS

Rewritten Zoom.JS as "ready to use" custom element. This implementation makes use of newer JS features like async functions, Promises and self destroying event handlers. For a stable and trusted version of zoom.js you migth use the original version by @nishanths: https://github.com/nishanths/zoom.js

Zoom.js looks like Mediums Image Zoom.

This is a port of @nishanths: https://github.com/nishanths/zoom.js version which is a port of the original version by @fat: https://github.com/fat/zoom.js.

<script src="zoom.js"></script>

<zoom-js>
  <img src="zooming_picture.png" >
</zoom-js>

License

Original license

This is a fork of the original zoom.js implementation by @nishanths & @fat. Copyrights for the original project are held by @nishanths & @fat.

Copyright (c) 2013 @fat