Fullscreen Lightbox Javascript Fullscreen Lightbox ,React Fullscreen Lightbox Vue

React Lightbox Documentation

Learn how to use React version of Fullscreen Lightbox!


There are few events that you can listen for:

Prop When fired?
onOpen Every time instance is opened (both show and initialize).
onClose Every time instance is closed.
onInit When instance is opened for the first time.
onShow When opening instance after initial open.
onSlideChange Pro Every time slide is changed.
onZoomingStart Pro When scale is changed from 1 to different one.
onZoomingEnd Pro When scale is changed back to 1.

Just pass a callback function to specific prop.

sources={[some sources]}
onSlideChange={(fsLightbox) => {
Get connected wth us on social networks!