Description Usage Arguments Functions See Also Examples
An interactive MJML component to stack content in tabs, so the information is collapsed and only the titles are visible. Readers can interact by clicking on the tabs to reveal the content, providing a great experience on mobile devices where space is scarce.
1 2 3 4 5 6 7 |
... |
Unnamed items that comprise this list of MJML tags. |
ml_accordion Setup accordion.
mj_accordion_element Accordion element.
ml_accordion_title Accordion title.
ml_accordion_text Accordion text.
https://mjml.io/documentation/#mjml-accordion
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | mj_ml(
mj_body(
mj_container(
mj_accordion(
mj_accordion_element(
mj_accordion_title("First element"),
mj_accordion_text("Text of first element")
),
mj_accordion_element(
mj_accordion_title("Second element"),
mj_accordion_text("Text of second element")
)
)
)
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.