Skip to main content

TemplateRenderOptions

@webda/templates


Interface: TemplateRenderOptions

Defined in: packages/templates/src/itemplate.ts:4

Options given to an engine at compile or render time

Indexable​

[key: string]: any

Engine specific options

Properties​

locale?​

optional locale?: string

Defined in: packages/templates/src/itemplate.ts:12

Locale being rendered


part?​

optional part?: string

Defined in: packages/templates/src/itemplate.ts:16

Part to render, given to load when the file is a multi-part one (engines defining parts)


partials?​

optional partials?: object

Defined in: packages/templates/src/itemplate.ts:8

Partials available to the template, by name

Index Signature​

[name: string]: string