Socket
Socket
Sign inDemoInstall

image-input-preview

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

image-input-preview - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

ImageInputPreview.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc