New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-touch-gallery

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-touch-gallery

react photo gallery for touch

latest
Source
npmnpm
Version
0.0.4
Version published
Weekly downloads
7
-50%
Maintainers
1
Weekly downloads
 
Created
Source

Demo

open http://braavos.me/react-touch-gallery in mobile browser and see results

Install

npm install react-touch-gallery --save

Usage

import Gallery from 'react-touch-gallery'
import style from 'react-touch-gallery/css/gallery.less'
<Gallery urls={urls}/>

props

urlsimage urls
showRangeshow current page / total page
showArrowshow navigation arrow
showCloseBtnshow close button
prevArrowcustom previous arrow node
nextArrowcustom next arrow node
events:
onChange(index)preview image change event
onEnd(index)at last page, still go right
onStart(index)at first page, still go left
currentinitial active index page

Keywords

boilerplate

FAQs

Package last updated on 29 Jun 2016

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