A function that receives the gallery item
id and returns the detail view to display for that item in the full-screen gallery.Configuration options for the gallery.
Support
Usage
Basic gallery
Children register as gallery items using.galleryItem(id). Tapping a gallery item opens the full-screen gallery with swipe paging.
With zoom enabled
Notes
- Gallery items must be registered with
.galleryItem(id)inside the component that has the.gallery()modifier. - The
detailcallback receives theidstring from whichever.galleryItem()was tapped, and should return a full-resolution view for that item.
See Also
- galleryItem — registers a child as a gallery item