Home > @jsplumbtoolkit/browser-ui-vue3 > loadSurface
loadSurface() function
Loads the Surface with the given ID.
Signature:
export declare function loadSurface(surfaceId: string, callback: (s: Surface) => any): void;
Parameters
Parameter | Type | Description |
---|---|---|
surfaceId | string | ID of the Surface to retrieve |
callback | (s: Surface) => any | Callback function to hit once the Surface has been retrieved. |
Returns:
void