Skip to main content

Home > @jsplumb/browser-ui > ConstrainFunction

ConstrainFunction type#

Signature:

export declare type ConstrainFunction = (desiredLoc: PointXY, dragEl: HTMLElement, constrainRect: Size, size: Size) => PointXY;