Home > @jsplumbtoolkit/browser-ui > IngestedSurface
IngestedSurface class
Extension of the Surface widget that is created when ingesting a Community edition instance. This class augments the Surface with an importNode method, which can be used in place of the manage method on the Community instance.
Signature:
export declare class IngestedSurface extends Surface
Extends: Surface
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(params, templateRenderer) | Constructs a new instance of the IngestedSurface class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| ingestedSurfaceType | static | string | |
| ingester | Ingester |
Methods
| Method | Modifiers | Description |
|---|---|---|
| ingest(el, data) | Ingest the given element and perhaps associate some data with it. This method adds a node to the dataset and associates the given element with it. |