Skip to content

Releases: behance/lightbox

v8.2.0

31 Oct 19:52
Compare
Choose a tag to compare
  • Added the previous slide to the activate event: e.g., on('activate', (activeSlide, previousSlide) => { ... }

v6.0.0

13 Oct 19:46
Compare
Choose a tag to compare
  • add slide prefetching on hover and on next / prev

v5.0.0

10 Oct 16:50
Compare
Choose a tag to compare
  • ⚠️ 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

04 Oct 15:06
Compare
Choose a tag to compare
  • 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

29 Sep 23:25
Compare
Choose a tag to compare
  • 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

27 Sep 16:12
Compare
Choose a tag to compare
  • stability improvements including adding unit tests & refactoring
  • added hiding of non-image nodes after a period of inactivity
  • style improvements

v3.1.1

20 Jun 18:30
Compare
Choose a tag to compare

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

v3.1.0

16 Jun 13:49
Compare
Choose a tag to compare

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

02 Feb 18:05
Compare
Choose a tag to compare

added explicit jquery import

1.0.1

25 Jan 19:09
Compare
Choose a tag to compare
1.0.1