Skip to main content

Interface: CaptionContent

Defined in: src/mobjects/annotation/CaptionCard.ts:59

The content of one caption page.

Properties​

body?​

optional body: string

Defined in: src/mobjects/annotation/CaptionCard.ts:61


footnote?​

optional footnote: string

Defined in: src/mobjects/annotation/CaptionCard.ts:62


rows?​

optional rows: LegendRow[]

Defined in: src/mobjects/annotation/CaptionCard.ts:66

Legend entries; each one is a reveal step after the title.


style?​

optional style: "caption" | "headline"

Defined in: src/mobjects/annotation/CaptionCard.ts:71

'caption' (default): title + body + footnote at caption sizes. 'headline': a larger title and a subtitle (the body), no swatch.


swatch?​

optional swatch: string

Defined in: src/mobjects/annotation/CaptionCard.ts:64

Swatch colour next to the title. No swatch when omitted.


title​

title: string

Defined in: src/mobjects/annotation/CaptionCard.ts:60