Skip to main content

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

ParameterTypeDescription
surfaceIdstringID of the Surface to retrieve
callback(s: Surface) => anyCallback function to hit once the Surface has been retrieved.

Returns:

void