Type alias BeforeDragInterceptor<E>

BeforeDragInterceptor<E>: ((params) => boolean | Record<string, any>)

Defines the method signature for the callback to the beforeDrag interceptor. This method can return boolean false to abort the connection drag, or it can return an object containing values that will be used as the data for the connection that is created.

Type Parameters

  • E = any

Type declaration

    • (params): boolean | Record<string, any>
    • Parameters

      Returns boolean | Record<string, any>

Version :