Skip to main content

Home > @jsplumbtoolkit/browser-ui > VanillaSurfaceRenderOptions

VanillaSurfaceRenderOptions interface

Constructor options for the BrowserUI class.


export interface VanillaSurfaceRenderOptions extends SurfaceRenderOptions 

Extends: SurfaceRenderOptions


tags?Record<string, CustomTagDefinition>(Optional) Optional map of custom tags to support in the templates.
templateMacros?Record<string, (d: any) => string>(Optional) 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.
templateResolver?TemplateResolver(Optional) Optional template resolver to use. It is unlikely you will want to provide this; it is mostly exposed for testing purposes.