Skip to main content

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

ConstructorModifiersDescription
(constructor)(params, templateRenderer)Constructs a new instance of the IngestedSurface class

Properties

PropertyModifiersTypeDescription
ingestedSurfaceTypestaticstring
ingesterIngester

Methods

MethodModifiersDescription
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.