Home > @jsplumb/browser-ui > ConstrainFunction
#
ConstrainFunction typeSignature:
export declare type ConstrainFunction = (desiredLoc: PointXY, dragEl: HTMLElement, constrainRect: Size, size: Size, e: MouseEvent) => PointXY;
Home > @jsplumb/browser-ui > ConstrainFunction
Signature:
export declare type ConstrainFunction = (desiredLoc: PointXY, dragEl: HTMLElement, constrainRect: Size, size: Size, e: MouseEvent) => PointXY;