Skip to content

Releases: jsor/lity

v2.4.1

26 Apr 08:53
v2.4.1
0c6f563
Compare
Choose a tag to compare
  • Compatibility with jQuery 3.5.0 (#240).

v2.4.0

10 Aug 15:11
v2.4.0
70b597c
Compare
Choose a tag to compare
  • Allow 'autoplay' on YouTube (#222).

v2.3.1

20 Apr 06:30
v2.3.1
62ef6de
Compare
Choose a tag to compare
  • Fix dist files not compiled correctly for 2.3.0 release.

v2.3.0

17 Jul 09:29
v2.3.0
9c2510a
Compare
Choose a tag to compare
  • Add esc option. Setting this option to false prevents the lightbox from being closed when pressing the ESC key.

v2.2.2

14 Dec 12:10
v2.2.2
f245e4e
Compare
Choose a tag to compare
  • Fix focus() not always available on active element, eg. for SVG elements in IE11 (#86).

v2.2.1

21 Nov 07:29
v2.2.1
1fec94f
Compare
Choose a tag to compare
  • Fix focus not returned correctly when active element is the lightbox root element.

v2.2.0

08 Oct 09:05
v2.2.0
1c45f89
Compare
Choose a tag to compare
  • Add support for Facebook Video URL's (#63, thanks @iamandrewluca).
  • Fix compatibility with Zepto and note requirement of the data module.

v2.1.1

19 Sep 18:49
v2.1.1
eda4e05
Compare
Choose a tag to compare
  • Correctly transfer hashes for generated YouTube, Vimeo and Google Maps URLs. For example when linking to a specific video start time, eg. https://vimeo.com/1084537#t=1m15s.

v2.1.0

19 Sep 10:14
v2.1.0
490c9d6
Compare
Choose a tag to compare
  • Images in ligtboxes now have an alt attribute set. The content is configurable through the data-lity-desc attribute on the opener element.
  • Initial focus is now set on the dialog element, not on the first focusable element inside the content. This prevents inline content scrolled down if the first focusable element is at the bottom of the content.
  • The global click event is now namespaced as click.lity for easier unbinding.

v2.0.0

09 Sep 14:20
v2.0.0
b25200f
Compare
Choose a tag to compare

New major release. See the upgrade guide for detailed information about upgrading from 1.x.

  • Lity is now fully accessible complying with the Web Content Accessibility Guidelines (WCAG) 2.0.
  • The lity function is now used directly to open a lightbox. There is no longer a function returned but a Lity instance.
  • All custom events triggered by Lity receive now one parameter: a Lity instance.
  • There are now dedicated youtube, vimeo and googlemaps handlers extracted from the iframe handler.