Description Usage Arguments See Also Examples
The first MJML interactive component, it displays a gallery of images or "carousel". Readers can interact by hovering and clicking on thumbnails depending on the email client they use.
1 2 3 | mj_carousel(...)
mj_carousel_image(src, ...)
|
... |
Unnamed items that comprise this list of MJML tags. |
src |
image source. |
https://mjml.io/documentation/#mjml-carousel
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | mj_ml(
mj_body(
mj_column(
mj_carousel(
mj_carousel_image(paste0("https://media.vanityfair.com/photos/",
"54cbf3da998d4de83ba3602a/master/",
"w_960,c_limit/image.jpg")),
mj_carousel_image(paste0("https://media.vanityfair.com/photos/",
"54cbf3dafde9250a6c402ed2/master/",
"w_690,c_limit/image.jpg"))
)
)
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.