Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-imagezoomable

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-imagezoomable

image which zoom to fullscreen and allow mouse movement

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-96.87%
Maintainers
1
Weekly downloads
 
Created
Source

Install

    npm install 'react-imagezoomable' --save
    

Usage

    <ImageZoomable hqWidth="1350px" hqHeight="1150px"
      uri="http://www.stoneisland30.com/media/extras/LQ/stone-island-extra_03.jpg"
      uriHD="http://via.placeholder.com/1350x1150"
      debug 
      />
  • Debug draw a red line which help you to understand if mouse arrive cerrectly in all 4 corners of the image
  • uriHD and uri should be the same image but with different resolution
  • hqWidth and wqWidth help component to calculate the right ratio of uriHD image.

ToDo

  • remove hqWidth and wqWidth and calculate these values automatically

Keywords

FAQs

Package last updated on 21 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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