Cell

interface Cell

Inheritors

Types

Link copied to clipboard

Represents a block within a grid layout on a page. A Block can be any type of cell that spans multiple rows and columns.

Link copied to clipboard

Enum class representing the types of block that can be used within a page.

Link copied to clipboard
data class CarouselBlock(val rowSpan: Int, val columnSpan: Int, val images: List<Publication.Page.Cell.ImageBlock>, val configuration: CarouselConfig) : Publication.Page.Cell.Block

The carousel content of a Publication.Page. Multiple CarouselBlocks are laid out in an adaptive grid, each of which contain a list of images and possibly a list of products.

Link copied to clipboard
data class CenterVideoBlock(val imageBlock: Publication.Page.Cell.ImageBlock, val centerVideos: Map<String, List<ClickRegion>>, val clickRegions: List<ClickRegion>) : Publication.Page.Cell.Block

The center video content of a Publication.Page. Multiple CenterVideoBlocks are laid out in an adaptive grid, each of which contain an image with a play button that triggers a fullscreen video in the center of the screen.

Link copied to clipboard
data class Footer(val basebar: Publication.Page.Cell.Footer.Basebar?, val disclaimer: String?) : Publication.Page.Cell

The footer of a Publication.Page. Typically this is where Basebars and Disclaimers are displayed. Footers are page-width, pinned to the bottom of the page (below the Content).

Link copied to clipboard
data class ImageBlock(val rowSpan: Int, val columnSpan: Int, val imageUrl: String, val products: List<ClickableProduct>) : Publication.Page.Cell.Block

The primary image-based content of a Publication.Page. Multiple ImageBlocks are laid out in an adaptive grid, each of which contain an image and possibly a list of products.

Link copied to clipboard
data class VideoBlock(val imageBlock: Publication.Page.Cell.ImageBlock, val clickRegions: List<ClickRegion>, val videoRegions: List<VideoRegion>, val configuration: VideoPlayback) : Publication.Page.Cell.Block

The video content of a Publication.Page. Multiple VideoBlocks are laid out in an adaptive grid, each of which contain a video and possibly a list of products.