image-dragger
v0.0.4
Published
A simple, lightweight way to add an image comparison tool to your website/app
Readme
Image Dragger
A simple, lightweight way to add an image comparison tool to your website/app

Usage
ImageDragger.create("#car", {
leftImage: "./demo/images/car.jpg",
rightImage: "./demo/images/car-bg-removed.png",
});Parameters
| Parameter | Description |
---------------------| ----------------------------------------------------------------------|
| selector | Selector of where you would like to mount the slider |
| options.leftImage | URL of the image you would like to be on the left side of the slider |
| options.rightImage | URL of the image you would like to be on the right side of the slider |
