Releases: noelboss/featherlight
Releases · noelboss/featherlight
v1.7.14
1.7.6
v1.7.0
1.6.1
Version 1.6.0
1.3.4
1.3.3
1.2.1
1.2.0
Features
- New setting: loading (default is '') is shown initially while content loads. The lightbox also has a class '.featherlight-loading' while content is loading.
- New content-filter "iframe" to generate an iframe with the given URL.
Options iframeWidth, iframeMinWidth, etc. or their corresponding data attributes
are used as CSS when present.
Changes
- Basic error handling for images that won't load
1.1.0
Features
- New callback: onResize called for new content and when the window is resized.
- onResize is used to automatically resize images if needed.
Changes
- current() now returns null if no lightbox is currently opened
- now avoids memory leaks
- onKeyDown() renamed onKeyUp()