chrome:shell.skip

generated:catalog.entry.gallery.title

generated:catalog.entry.gallery.description

@xngui/components/gallery
@xngui/components/gallery

chrome:demo.section

chrome:demo.preview

demo-preview:hints.category.navigation:
Tab← →
demo-preview:hints.category.focus:
Focus
demo-preview:hints.category.shortcuts:
Enter / Space
import { Component } from '@angular/core';
import { XGallery, XGalleryItem } from '@xngui/components/gallery';
import { XImage } from '@xngui/components/image';
import { XVideo } from '@xngui/components/video';
 
@Component({
selector: 'app-example',
imports: [XGallery, XGalleryItem, XImage, XVideo],
templateUrl: './gallery.component.html',
})
export class ExampleComponent {}

chrome:demo.events.title

chrome:demo.events.empty

chrome:demo.api.title

x-gallery

chrome:demo.api.col.property
chrome:demo.api.col.type
chrome:demo.api.col.default
chrome:demo.api.col.description
ariaLabel
string
—
Accessible name for the gallery region.
loop
boolean
false
Wrap prev/next navigation at the ends of the strip.
swipeEnabled
boolean
true
Enable horizontal swipe gestures on the stage.
size
XSize
—
Visual size tier — falls back to XConfigService when unset.
density
XDensity
—
Spacing offsets — orthogonal to `size`; falls back to XConfigService when unset.