Package Exports
- image-compare-viewer
- image-compare-viewer/dist/image-compare-viewer.min.css
- image-compare-viewer/src/scripts/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (image-compare-viewer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
A fully responsive slider to compare before and after images for grading, retouching and all else. Mobile and fluid container friendly! Check out live examples
Installation
npm install image-compare-viewer --save
Stylesheet is available at "node_modules/image-compare-viewer/src/styles/index.scss" or "node_modules/image-compare-viewer/dist/image-compare-viewer.min.css"
CDN
Javascript
<script src="https://unpkg.com/image-compare-viewer/dist/image-compare-viewer.min.js"></script>
CSS
<link type="text/css" href="https://unpkg.com/image-compare-viewer/dist/image-compare-viewer.min.css">