Class MjPreview


public class MjPreview extends HeadComponent
Sets the preview text (preheader) from mj-preview content.
  • Constructor Details

  • Method Details

    • getTagName

      public String getTagName()
      Description copied from class: BaseComponent
      Returns the MJML tag name this component handles.
      Specified by:
      getTagName in class BaseComponent
      Returns:
      the MJML tag name
    • process

      public void process()
      Description copied from class: HeadComponent
      Processes this head component, updating the global context with extracted metadata (fonts, styles, attributes, etc.).
      Specified by:
      process in class HeadComponent