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

thumb-preview

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thumb-preview

Provides a thumbnail preview effect controlled by mousemove events.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

#React Thumb Preview

WORK IN PROGRESS. ALPHA. NOT READY FOR DISTRIBUTION.

A React component that provides a thumbnail preview effect controlled by mousemove events.

##Usage

var images =  ["/path/to/image_1.jpg",
  "/path/to/image_2.jpg", "/path/to/image_3.jpg"]

React.render(<ThumbPreview images={images} />, targetElement);

This is a port from the jQuery-Thumb-Preview plugin

##Examples

Check index.html for a comparison between the original jQuery plugin and this component.

I've run some benchmarks in Chrome 43.0.2357.130 (64-bit) and Firefox 38.0.5:

Chrome

Firefox

Keywords

FAQs

Package last updated on 03 Jul 2015

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