UNPKG

basicprimitives

Version:

Basic Primitives Diagrams for JavaScript - data visualization components library that implements organizational chart and multi-parent dependency diagrams, contains implementations of JavaScript Controls and PDF rendering plugins.

30 lines (24 loc) 493 B
export default function CustomRenderTemplate(options, onRender) { var _template = ["div", { "style": { position: "absolute" } } ]; function template() { return _template; } function getHashCode() { return "customRenderTemplate"; } function render(event, data) { if(onRender != null) { onRender(data); } } return { template: template, getHashCode: getHashCode, render: render }; };