Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 976 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 976 Bytes

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