Readonly
aliasesReadonly
astReadonly
blockReadonly
canReadonly
embeddedReadonly
macroReadonly
nameReadonly
sourceOptional
options: {Optional
nodeExecutor?: TwingSynchronousNodeExecutorOptional
sandboxed?: booleanOptional
sourceMapRuntime?: TwingSourceMapRuntimeOptional
strict?: booleanControls whether accessing invalid variables (variables and or attributes/methods that do not exist) triggers an error.
When set to true
, accessing invalid variables triggers an error.
Optional
templateLoader?: TwingSynchronousTemplateLoaderOptional
options: {Optional
nodeExecutor?: TwingSynchronousNodeExecutorOptional
outputBuffer?: TwingOutputBufferOptional
sandboxed?: booleanOptional
sourceMapRuntime?: TwingSourceMapRuntimeOptional
strict?: booleanControls whether accessing invalid variables (variables and or attributes/methods that do not exist) triggers an error.
When set to true
, accessing invalid variables triggers an error.
Optional
templateLoader?: TwingSynchronousTemplateLoader
Semantically speaking, provide a closure to the template:
Technically speaking, execute the template and stream the result to the output buffer.