Socket
Socket
Sign inDemoInstall

image-input-preview

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.5 to 0.0.6

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc