navbar: Navbar

Description Usage Arguments See Also Examples

Description

Displays a menu for navigation with an optional hamburger mode for mobile devices.

Usage

1
2
3
4
5

Arguments

...

Unnamed items that comprise this list of MJML tags.

See Also

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
mj_ml(
  mj_body(
    mj_navbar(
      mj_column(
        width = "20%",
        mj_image(
          paste0("https://media.vanityfair.com/photos/",
          "54cbf3dafde9250a6c402ed2/master/w_690,c_limit/image.jpg")
        )
      ),
      mj_column(
        width = "80%",
        mj_inline_links(
          `base-url` = "http://john-coene.com",
          mj_link(
            href = "/datamaps"
          ),
          mj_link(
            href = "/packages/fullPage/"
          )
        )
      )
    )
  )
)

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