mjml.carousel
mjml.carousel(*args, attributes=None, content=None)Create an MJML <mj-carousel> tag.
Parameters
*args : TagChild = ()-
Children (MJMLTag objects)
attributes : Optional[TagAttrs] = None-
Optional dict of tag attributes
content : Optional[str] = None-
Optional text content for the tag
Returns
: MJMLTag-
MJMLTag object representing
Examples
With children: carousel(child1, child2)
With attributes: carousel(attributes={“attr”: “value”})
With both: carousel(child1, child2, attributes={“attr”: “value”})