Encapsulates the rendering context passed to template engines, including variable bindings, partial templates, and strict-mode configuration.
Summary
Functions
Creates a new render context from a variable map or a keyword list of options.
Types
Functions
Creates a new render context from a variable map or a keyword list of options.
When given a map, it is used as the variable bindings. When given a keyword
list, recognised keys are :variables, :partials, and :strict_mode.
Parameters
vars_or_opts— A map of template variables or a keyword list with:variables,:partials, and:strict_modekeys.
Returns
A %CommBus.Template.RenderContext{} struct.