ImportFromContent.content

Import content from a string.

ImportFromContent.content property

Import content from a string.

Signature:

content: string;

Remarks

  • For LOTTIE, provide the full Lottie JSON string - For SVG, provide the full SVG markup string

Example

// Lottie JSON
{ type: "LOTTIE_JSON", content: '{"v":"5.5.7","fr":60}...' }

// SVG
{ type: "SVG", content: '<svg width="100" height="100">...</svg>' }
Last updated: August 5, 2026 at 11:47 AMEdit this page