const mixinafBedSheetMoustache::MoustacheTemplates
afBedSheetMoustache::MoustacheTemplates
(Service) - A cache of Mustache
templates.
- renderFromFile
abstract Str renderFromFile(File templateFile, Obj? context := null, [Str:Mustache]? partials := null, Obj?[]? callStack := null, Str? indentStr := null)
Renders a Moustache template. The template is cached for future use.
- renderFromStr
abstract Str renderFromStr(Str template, Obj? context := null, [Str:Mustache]? partials := null, Obj?[]? callStack := null, Str? indentStr := null)
Renders a Moustache template.