const classfanbars::Fanbars

sys::Obj
  fanbars::Fanbars

@Js

Fanbars

compile

Source

static new compile(Obj template)

Compile the template into a Fanbars instance, where template can be an InStream, Str, or File.

render

Source

Void render(OutStream out, Str:Obj map, Obj? partials := null)

Render template to given OutStream.

renderStr

Source

Str renderStr(Str:Obj map, Obj? partials := null)

Render template to a Str instance.