Image Comparer

About

This component is developed for my personal projects. The initial code has based on MetroUI component code. This code is licensed under MIT license at Github.

Component Information

The image comparer component is created using the html notation

<div class="image-compare">
    <img src="./images/comparer-1.jpg">
    <img src="./images/comparer-2.jpg">
</div>

And the component is initialized by the JavaScript code

var el = document.querySelector('.image-compare');
var comp = new ImageCompare(el, options);

See more in the Getting Started page.