Try loading as AMD module or fall back to default loading
The actual widget class
Default options for the widget
carousel
: the selector for the carousel
slideshow
: the selector for the slideshow
overlay
: whether to display the gallery in an overlay
Initializer function.
Attach evenets to the widget
Find the widget structure using the specified configuration
Find the carousel that shows the thumbnails, specified using the
carousel
option
Find the slideshow that shows the actual items, specified using the
slideshow
option
Create elements required by the structure if they are not present
Cleanup the widget and remove remaining references
Install the widget into the JS library
Gallery
The
Gallery
class provides a gallery widget.author: Julien Ramboz version: 1.0 usage: Gallery examples requires: Carousel, Slideshow