tridion-sites-extensions-api-docs

Home > @tridion-sites/models > Template > content

Template.content property

Template’s (text) content.

A string containing the text content or an empty string if the Template doesn’t have text content.

Depending on the “TemplateType”, a Template can have text content, binary content or both.

Signature:

get content(): string;