mjml.breakpoint

mjml.breakpoint(*args, attributes=None, content=None)

Create an MJML <mj-breakpoint> 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: breakpoint(child1, child2)

With attributes: breakpoint(attributes={“attr”: “value”})

With both: breakpoint(child1, child2, attributes={“attr”: “value”})