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.