const classfanbars::Fanbars
sys::Obj fanbars::Fanbars
@
Js
Fanbars
- compile
static new compile(Obj template)
Compile the template into a
Fanbars
instance, wheretemplate
can be anInStream
,Str
, orFile
.- render
Void render(OutStream out, Str:Obj map, Obj? partials := null)
Render template to given OutStream.
- renderStr
Str renderStr(Str:Obj map, Obj? partials := null)
Render template to a
Str
instance.