Skip to main content

Home > @jsplumbtoolkit/core > BeforeDetachInterceptor

BeforeDetachInterceptor type

A function to run before the given edge is detached from the given source vertex. If this method returns false, the detach will be aborted.

Signature:

export declare type BeforeDetachInterceptor = (source: Vertex, target: Vertex, edge: Edge) => any;

References: Vertex, Edge