Fullscreen Lightbox Javascript Fullscreen Lightbox ,React Fullscreen Lightbox Vue

React Lightbox Documentation

Learn how to use the React version of Fullscreen Lightbox.

Events

The events you can listen to:

PropWhen is it fired?
onOpenOn every open of the lightbox.
onCloseOn every close of the lightbox.
onInitOn the initial open of the lightbox.
onShowOn every open of the lightbox excluding the initial open.
onSlideChange Pro On every slide change of the lightbox.

To listen to an event, set a desired function to the appropriate prop. The lightbox's instance will be passed as an argument.

<FsLightbox
onSlideChange={(instance) => console.log(instance)}
/>
Look over the Fullscreen Lightbox open source plug-ins.