0.0.4 • Published 8 months ago

image-dragger v0.0.4

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

Image Dragger

A simple, lightweight way to add an image comparison tool to your website/app

npm.io

Usage

ImageDragger.create("#car", {
  leftImage: "./demo/images/car.jpg",
  rightImage: "./demo/images/car-bg-removed.png",
});

Parameters

ParameterDescription
selectorSelector of where you would like to mount the slider
options.leftImageURL of the image you would like to be on the left side of the slider
options.rightImageURL of the image you would like to be on the right side of the slider
0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago