This module is used to render images as gallery thumbnails & lightboxes.
The internal state of the Gallery.
A blank gallery with no associated images.
Render the Modal.
To get nice open/close transitions, you should always render the modal, even if the Modal has not been opened.
Preferably place this at the end of your HTML to prevent other elements from obscuring the modal while it transitions to the open state.
Render thumbnails in a column grid using the given list of images.
Open the modal when the element is clicked & select the given item.
Messages the modal may raise.
Subscribe to the animation updates.
Open the modal & select the given item.
Close the modal.
Select the next item in the list.
Select the previous item in the list.
Configuration for pulling the thumbnail & image URLs out of an arbitrary image type.