Home > @jsplumbtoolkit/browser-ui > Surface > getRenderedElement
#
Surface.getRenderedElement() methodFor the given object or object ID, retrieve the element that represents it in the UI. This method may return null, specifically in the case that you pass in a Port or Port ID, and that Port is represented as an Endpoint.
Signature:
getRenderedElement(obj: string | Base): HTMLElement;
#
ParametersParameter | Type | Description |
---|---|---|
obj | string | Base |
Returns:
HTMLElement
HTMLElement that represents the given node, group or port.