Skip to main content

PromoCarouselBlock

Overview

PromoCarouselBlock represents a carousel component designed to showcase promotional content. It supports multiple slides, autoplay functionality, and customizable transitions.

Attributes

id

type: string

A unique identifier for the promo carousel block.

type

type: literal = 'promoCarousel'

Discriminant for this block type.

content

type: PromoTextBlock[] (optional)

An array of promotional text blocks to be displayed as slides in the carousel.

backgroundColor

type: BackgroundColorOptions (optional)

Specifies the background color of the carousel.

autoplay

type: boolean (optional)

Indicates whether the carousel should autoplay.

transition

type: TransitionOptions (optional)

Defines the type of transition animation used between slides.