You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

lightbox.js-react

Package Overview
Dependencies
Maintainers
1
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightbox.js-react - npm Package Versions

1
1012
16

0.6.0

Diff
s
silvia-odwyer
published 0.6.0 •

Changelog

Source

[0.6.0] - 2023-04-24

Added

  • New prop: modalClose - Modal can be closed via clicking outside the image. To enable this feature, set the modalClose prop to clickOutside. By default, the modal doesn't close when the outside of the image is clicked, so if a developer wishes to add this to the lightbox, the modalClose prop must be set to clickOutside for the new modal-closing functionality to be enabled.
s
silvia-odwyer
published 0.5.9 •

Changelog

Source

[0.5.9] - 2023-04-19

Added

  • Lightbox can now be opened via setting the new open prop to true.
  • The image the lightbox should open to can be specified via the startingSlideIndex prop
  • New event listener onClose now available, which emits an event when the lightbox has been closed
  • New props added: rightArrowClassname and leftArrowClassname: Custom classes can be added to right and left arrows using the new rightArrowClassname and leftArrowClassname props
s
silvia-odwyer
published 0.5.8 •
s
silvia-odwyer
published 0.5.7 •
s
silvia-odwyer
published 0.5.6 •
s
silvia-odwyer
published 0.5.5 •
s
silvia-odwyer
published 0.5.4 •

Changelog

Source

[0.5.4] - 2023-04-13

Fixed

  • Fixed image refresh bug. The lightbox now refreshes the set of images shown in the lightbox when the values of the images prop is changed.
s
silvia-odwyer
published 0.5.3 •
s
silvia-odwyer
published 0.5.2 •
s
silvia-odwyer
published 0.5.1 •
SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.