IGalleryDisplayConfig
Configuration for how to display a gallery. This can apply to a catalog's display, a collection's display, the gallery-card's display, etc.
Properties
Property | Type | Notes |
---|---|---|
Optional | CARD_TITLE_TAGS |
header tag for the gallery card titles - needed for a11y |
Optional | CORNERS |
card corner appearance |
Optional |
Array<{
|
|
Optional | "thumbnail" | "icon" |
Type of media to render in the layout card |
Optional | "list" | "grid" | "map" | "table" | "calendar" | "compact" | "grid-filled" |
default layout |
Optional | Array<"list" | "grid" | "map" | "table" | "calendar" | "compact" | "grid-filled"> |
Gallery layout options to expose in the layout switcher |
Optional | "solid" | "outline" | "outline-fill" | "transparent" |
button style if showLinkButton = true |
Optional | string |
button text rendered if showLinkButton = true |
Optional | DROP_SHADOWS |
card drop shadow |
Optional | boolean |
whether to show a button on the gallery card linking out to the content - redundant with the title link, but it's currently supported/desired |
Optional | "show" | "hide" | "grid" |
Indicates whether the card render show a thumbnail. "grid" means the card will only render a thumbnail if the layout is set to "grid" |
Optional | "relevance" | "title" | "created" | "modified" |
Interface defined in common/src/search/types/IHubCatalog.ts:184