Skip to main content

Home > @jsplumbtoolkit/browser-ui-vanilla > KnockleTemplateRenderer

KnockleTemplateRenderer class#

Template renderer that uses the Toolkit's template engine.

Signature:

export declare class KnockleTemplateRenderer implements TemplateRenderer<Element> 

Implements: TemplateRenderer<Element>

Constructors#

ConstructorModifiersDescription
(constructor)(params)Constructs a new instance of the KnockleTemplateRenderer class

Properties#

PropertyModifiersTypeDescription
currentVertexVertex
reactiveboolean
surfaceSurface

Methods#

MethodModifiersDescription
addTemplate(id, content)
cleanup(objId, el)
registerTag(tagName, options, isGlobal)
render(templateId, data, dataSource, objectType, renderer, def, obj, node)
update(el, data, renderer)