Skip to content
Open in

Topol GIF block ​

You are reading the Email Editor v3 docs

Email Editor v4 is the current version. See this page in the v4 docs, or how to upgrade to v4.

The GIF block renders an mj-gif, an animated image sourced from src.

ts
interface TopolGifBlock extends TopolBlock {
  tagName: "mj-gif";
  attributes: {
    src: string;
    padding: string;
    alt: string;
    href: string;
    containerWidth: number;
    align?: string;
    width?: number;
    widthPercent?: number;
    "css-class"?: "hide_on_mobile" | "hide_on_desktop";
  };
}