Releases: jsor/lity
Releases · jsor/lity
v2.4.1
v2.4.0
v2.3.1
v2.3.0
v2.2.2
v2.2.1
v2.2.0
v2.1.1
- 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
- Images in ligtboxes now have an
altattribute set. The content is configurable through thedata-lity-descattribute 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.lityfor easier unbinding.
v2.0.0
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
lityfunction is now used directly to open a lightbox. There is no longer a function returned but aLityinstance. - All custom events triggered by Lity receive now one parameter: a
Lityinstance. - There are now dedicated youtube, vimeo and googlemaps handlers extracted from the iframe handler.