Skip to content

Releases: behance/lightbox

v8.2.0

Choose a tag to compare

@nemtsov nemtsov released this 31 Oct 19:52
  • Added the previous slide to the activate event: e.g., on('activate', (activeSlide, previousSlide) => { ... }

v6.0.0

Choose a tag to compare

@nemtsov nemtsov released this 13 Oct 19:46
  • add slide prefetching on hover and on next / prev

v5.0.0

Choose a tag to compare

@nemtsov nemtsov released this 10 Oct 16:50
  • ⚠️ Remove the data-picture feature in favor of a <script type="text/html" class="js-lightbox-slide-content"><anything-you-want/></script>
  • ⚠️ Change signature of the public .slide array to contain { id: String, content: (DOMNode|String) }
  • Add slide animation transition for smooth cross-fade transitions

v4.2.0

Choose a tag to compare

@nemtsov nemtsov released this 04 Oct 15:06
  • A simple example is in the /examples/simple folder. Run it with npm run examples-simple
  • Events added for all controller methods: open, close, prev, next, hideExtras and showExtras.

v4.1.0

Choose a tag to compare

@nemtsov nemtsov released this 29 Sep 23:25
  • You can now add a data-picture attribute to the lightbox image node. It will be read and a element will be created for each image in the lightbox.

v4.0.0

Choose a tag to compare

@nemtsov nemtsov released this 27 Sep 16:12
  • stability improvements including adding unit tests & refactoring
  • added hiding of non-image nodes after a period of inactivity
  • style improvements

v3.1.1

Choose a tag to compare

@designjockey designjockey released this 20 Jun 18:30

Fixes Bug where next/previous would show the image and then hide it.

v3.1.0

Choose a tag to compare

@designjockey designjockey released this 16 Jun 13:49

ClosIconColor: Adds ability to detect lightbox background color and change the icon color to white or black depending on the darkness of the color

1.0.2

Choose a tag to compare

@jrefano jrefano released this 02 Feb 18:05

added explicit jquery import

1.0.1

Choose a tag to compare

@jrefano jrefano released this 25 Jan 19:09
1.0.1