Skip to main content

Home > @jsplumbtoolkit/browser-ui-angular > jsPlumbService > getToolkit

jsPlumbService.getToolkit() method#

Create (or get if existing) a Toolkit instance.

Signature:

getToolkit(id: string, params?: JsPlumbToolkitOptions): BrowserUIAngular;

Parameters#

ParameterTypeDescription
idstringID of the instance to either create or retrieve.
paramsJsPlumbToolkitOptionsOptional constructor options for the Toolkit instance.

Returns:

BrowserUIAngular