Home > @jsplumbtoolkit/browser-ui-angular > jsPlumbService
jsPlumbService class
The jsPlumbService provides the core of the Angular integration, offering methods to create and retrieve instances of the Toolkit.
Signature:
export declare class jsPlumbService
Methods
Method | Modifiers | Description |
---|---|---|
getSurface(id, callback, _params) | Gets the surface with the given id, passing it to the supplied callback function. If a surface with the given ID does not exist, the request is queued, and then if a surface with the given ID is subsequently registered, each callback for that surface registered via this method is executed in turn. | |
getToolkit(id, params) | Create (or get if existing) a Toolkit instance. |