image-input-preview
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "image-input-preview", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Display a preview for your image inputs easily", | ||
@@ -5,0 +5,0 @@ "main": "ImageInputPreview.js", |
@@ -24,3 +24,3 @@ # Image Input Preview ([Demo](https://jsfiddle.net/Zenoo0/y8v52wpd/)) | ||
// OR | ||
let preview = new ImageInputAttribute(input, { | ||
let preview = new ImageInputPreview(input, { | ||
preview: 'https://link.to.your/preview.png', // Optional | Preview displayed | ||
@@ -27,0 +27,0 @@ uploadIcon: 'https://link.to.your.upload/icon.png', // Optional | Icon used when no preview is displayed |
1059793