Home > @jsplumbtoolkit/browser-ui-vanilla > BrowserUI > render
BrowserUI.render() method
Configures the given element as a Surface, registering it so that it reflects any changes to the underlying data. If there is any data in the Toolkit at the time of this call it is rendered; any data subsequently loaded is automatically rendered. You can supply layout arguments to this method (layout type + layout specific parameters), as well as jsPlumb rules for endpoints, paint styles etc.
Signature:
render(container: Element, options?: VanillaSurfaceRenderOptions, templateRenderer?: TemplateRenderer<any>): Surface;
Parameters
Parameter | Type | Description |
---|---|---|
container | Element | The Element to render into |
options | VanillaSurfaceRenderOptions | Render options |
templateRenderer | TemplateRenderer<any> |
Returns:
Surface