method EmailKit.prototype.section
EmailKit.prototype.section(
title: string,
html: string,
first?: boolean
): string

Returns a section of the card: a divider in the style's rule (none before the first), an uppercase title in the accent color, and html.

Parameters

title: string
html: string
optional
first: boolean = false

Return Type

string

Usage

import { EmailKit } from "api/mail/layout.ts";