renderer

  • typedef
documentjs.generators.html.types.renderer

{function(docObject)}

 

A renderer built by documentjs.generators.html.build.renderer that is used to render each docObject.

function(docObject)

Parameters

  1. docObject {docObject}

    The tag data of a comment.

Returns

{String}

The HTML to be outputted.

Properties

A renderer function also has a .layout property which can be used to render the layout template and a .content property that can be used to render the content template.