mjml.carousel_image

mjml.carousel_image(attributes=None, content=None)

Create an MJML <mj-carousel-image> tag.

This is an ending tag that accepts text/HTML content but not MJML children.

Parameters

attributes : Optional[TagAttrs] = None

Optional dict of tag attributes

content : Optional[str] = None

Text or HTML content for the tag

Returns

: MJMLTag

MJMLTag object representing

Examples

With content: carousel_image(content=“Hello”)

With attributes and content: carousel_image(attributes={“color”: “red”}, content=“Hello”)