Skip to content

Function: isArrowTargetLocked() ​

ts
function isArrowTargetLocked(
   arrow, 
   features, 
   canDetach): boolean;

True when arrow is a comment connector attached to a target whose comment must not be detached (canDetach returns false). Such a connector's tip and body can't be dragged away from the target.

Parameters ​

arrow ​

Arrow

features ​

Record<Id, Annotation>

canDetach ​

(comment) => boolean

Returns ​

boolean