compilation options
Depending on the value of options.client
, either type might be returned.
Get the template function.
If options.cache
is true
, then the template is cached.
path for the specified file
compilation options
Depending on the value of options.client
, either type might be returned
Try calling handleCache with the given options and data and call the callback with the result. If an error occurs, call the callback with the error. Used by renderFile().
compilation options
template data
callback
Generated using TypeDoc
Get the template from a string or a file, either compiled on-the-fly or read from cache (if enabled), and cache the template if needed.
If
options.cache
is true, this function reads the file fromoptions.filename
so it must be set prior to calling this function.