mjml-location

3.3.5 • Public • Published

mjml-location

Display a Google Maps location link

<mjml>
  <mj-body>
    <mj-container>
      <mj-section>
        <mj-column>
          <mj-location address="37 bis, rue du Sentier 75002 Paris" />
        </mj-column>
      </mj-section>
    </mj-container>
  </mj-body>
</mjml>

sexy

attribute unit description default value
color color text color #3aa7ed
font-family string font name Roboto, sans-serif
font-size px/em font size 18px
font-weight css weight font weight 500
href string href link on image/text http://maps.google.com/maps?q=(mjAttribute: address)
rel string specify the rel attribute n/a
padding px supports up to 4 parameters 10px 25px
padding-top px top offset n/a
padding-bottom px bottom offset n/a
padding-left px left offset n/a
padding-right px right offset n/a
img-src string image source http://i.imgur.com/DPCJHhy.png
css-class string class name, added to the root HTML element created n/a

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i mjml-location

    Homepage

    mjml.io

    Weekly Downloads

    2,579

    Version

    3.3.5

    License

    MIT

    Last publish

    Collaborators

    • kmcb
    • mjmlio
    • iryusa
    • loeck
    • ngarnier
    • meriadec