Home > @jsplumbtoolkit/browser-ui > IngestedSurface > ingest
IngestedSurface.ingest() method
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.
Signature:
ingest(el: jsPlumbToolkitDOMElement, data?: any): void;
Parameters
Parameter | Type | Description |
---|---|---|
el | jsPlumbToolkitDOMElement | |
data | any |
Returns:
void