Widgets
...
Content Hub
Configuration options
Layout
5min
The optional layout option defines, which layout is used for rendering the library. It accepts an object, with the following layout configuration options:
The assetOrientation option defines whether assets should be rendered in portrait or landscape format.
The breakpoints option allows you to define individual breakpoints for your responsive design. If not provided, LiSA Library defaults to the breakpoints described in Responsive design.
The view option sets the library's layout. It accepts a string value that is one of the following:
- list (Default) — A vertical show listing.
- grid — A grid view of all shows
- slider — Similar to the grid layout, except for keeping all shows of a section in a horizontal, scrollable row.