Function loadSurface

  • Loads the Surface with the given ID and invokes the given callback. If the surface has not yet been created this call is placed in a queue and will be resolved at such time as the surface gets created.

    Parameters

    • surfaceIdOrCallback: string | LoadSurfaceCallback

      ID of the Surface to retrieve, or callback to hit - you can leave this parameter out and JsPlumb will use the default surface id.

    • Optionalcallback: LoadSurfaceCallback

      Callback function to hit once the Surface has been retrieved.

    Returns void

Version :