mj_group: Group

Description Usage Arguments See Also Examples

View source: R/body.R

Description

Allows you to prevent columns from stacking on mobile. To do so, wrap the columns inside a mj-group tag, so they'll stay side by side on mobile.

Usage

1

Arguments

...

Unnamed items that comprise this list of MJML tags.

See Also

https://mjml.io/documentation/#mjml-group

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
mj_ml(
  mj_body(
    mj_container(
      mj_group(
        mj_column(
          mj_text("Some text")
        ),
        mj_column(
          mj_text("Some more text")
        )
      )
    )
  )
)

JohnCoene/mjml documentation built on June 21, 2020, 11:42 a.m.