Skip to main content
Factory function to create a new TemplateRenderer instance.
For complete type definitions and interfaces, see the Type Definitions page.

Function Signature

Parameters

config
OgTemplateRenderer<TMap>
required
Handler configuration with templates and global settings

Returns

renderer
TemplateRenderer
The renderer instance with methods for managing templates and generating images

Examples