Home > @jsplumbtoolkit/browser-ui-vanilla-2 > VanillaSurfaceRenderOptions > templateMacros
VanillaSurfaceRenderOptions.templateMacros property
Optional map of template macros - small functions that can generate values for templates. Macros are a means for you to extract logic from the templates.
Signature:
templateMacros?: Record<string, (d: any) => string>;