Hawkejs.prototype.render >= 2.0.0

Purpose

Render the wanted template and call back with the HTML

Syntax

Hawkejs#render ( Stringtemplate_nameObjectvariablesFunctioncallback );

Parameters

template_name
The name of the template to use
variables
The variables to use
callback
Function to call with the rendered HTML string

Return values

Renderer

A Hawkejs.Renderer instance is returned