Home > @jsplumbtoolkit/browser-ui > BeforeConnectionDetachInterceptor
BeforeConnectionDetachInterceptor type
Defines the method signature for the callback to the beforeDetach
interceptor. Returning false from this method prevents the connection from being detached. The interceptor is fired by the core, meaning that it will be invoked regardless of whether the detach occurred programmatically, or via the mouse.
Signature:
export declare type BeforeConnectionDetachInterceptor = (c: Connection) => boolean;
References: Connection