Lightbox Component
The Lightbox component represents interactive gallery and is based on Gallery with identical API.
The front of this component is based on glightbox.
Usage
Identical to Gallery you need to register relations or pass elements manually via elements()
method.
Options
Columns
See columns for Gallery.
Aspect ratio
Fit property
Empty value
Elements
See element for Gallery.
Glightbox options
There are 2 extra options, that are related to the glightbox dependency; zoomable()
to enable or disable zoom for images, and draggable
to allow drag or not. Both accept boolean
as a value and default is false
.