4.4.0
Javascript event listener
If you dispatch the event neos-photoswipe:init
all type of lightboxes get initialized. Great if you work in AJAX
enviroments. You can also activate a specific type of lightbox: neos-photoswipe.images:init
,
neos-photoswipe.fetch:init
or neos-photoswipe.template:init
.
Example:
window.dispatchEvent(new Event("neos-photoswipe:init"));
Full Changelog: 4.3.0...4.4.0