image-input-preview
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -41,3 +41,2 @@ /** | ||
this._loadDictionary(); | ||
@@ -99,2 +98,3 @@ this._build(); | ||
* Listens to necessary events | ||
* @private | ||
*/ | ||
@@ -101,0 +101,0 @@ _listen(){ |
{ | ||
"name": "image-input-preview", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Display a preview for your image inputs easily", | ||
@@ -14,6 +14,6 @@ "main": "ImageInputPreview.js", | ||
"keywords": [ | ||
"input", | ||
"preview", | ||
"file", | ||
"image" | ||
"input", | ||
"preview", | ||
"file", | ||
"image" | ||
], | ||
@@ -20,0 +20,0 @@ "author": "Zenoo", |
@@ -25,6 +25,6 @@ # Image Input Preview ([Demo](https://jsfiddle.net/Zenoo0/y8v52wpd/)) | ||
let preview = new ImageInputAttribute(input, { | ||
preview: 'https://link.to.your/preview.png', // Optional | ||
uploadIcon: 'https://link.to.your.upload/icon.png', // Optional | ||
lang: 'en', // Language used | ||
dictionary: null // Allow for custom language | ||
preview: 'https://link.to.your/preview.png', // Optional | Preview displayed | ||
uploadIcon: 'https://link.to.your.upload/icon.png', // Optional | Icon used when no preview is displayed | ||
lang: 'en', // Optional | Language used | ||
dictionary: null // Optional | Allow for custom language | ||
}); | ||
@@ -31,0 +31,0 @@ ``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
746
1059811