Home > @jsplumbtoolkit/browser-ui > Surface > getRenderedPort
Surface.getRenderedPort() method
Gets the DOM node that was rendered for the Port with the given id (does not retrieve jtk-endpoint
elements)
Signature:
getRenderedPort(portId: string): Element;
Parameters
Parameter | Type | Description |
---|---|---|
portId | string | Port id for which to retrieve the rendered element. Note that you must supply the "full" id here, that is in dotted notation with the id of the Node on which the port resides. |
Returns:
Element
DOM element for the given Port id, null if not found.