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
alt
attribute set. The content is configurable through thedata-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
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 aLity
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.