Galleria
A gallery that shows one image large with thumbnails, dots, a caption and arrows. It can play as a slideshow and open full screen over the page.
Basic
Images with src and thumbnailSrc render without templates. numVisible sets how many thumbnails fit; the active one stays in view. Use the arrow keys on the thumbnails or swipe the image.
Showing Dawn over the ridge
Effects
effect sets how one image replaces another: slide (default), fade, zoom, blur, flip or none. The old and the new image move at the same time, so nothing flashes between them.
Thumbnails
thumbnailsPosition puts the thumbnails at the bottom, top, left or right; on the sides verticalThumbnailViewPortHeight sets their height.
Indicators
showIndicators adds a dot per image; indicatorsPosition places them, showIndicatorsOnItem puts them over the image and changeItemOnIndicatorHover switches on hover.
Caption
The title and description of an image show as a caption over it. txGalleriaCaption replaces the caption with own content.
Autoplay
autoPlay runs a slideshow every transitionInterval milliseconds. It pauses while the pointer or focus is on the gallery and, with shouldStopAutoplayByClick, stops when you pick another image.
Full screen
With fullScreen the gallery opens over the page while [(visible)] is true. Pick a photo to open it at that image; Escape, the close button or a click on the backdrop closes it.
Templates
Any items work with txGalleriaItem and txGalleriaThumbnail; txGalleriaHeader and txGalleriaFooter add content around the gallery.
Design tokens
dt changes the tokens of one gallery: no frame, a dark thumbnail strip and larger arrows.