detectAnchor
detectAnchor(
node):AnchorPreset|null
Defined in: ui/layout/anchor.ts:140
The preset a UINode currently matches, or null (Relative flow, or a custom
box that isn’t a clean preset). detectAnchor(node with anchorPresetFields(p))
round-trips back to p.
Parameters
Section titled “Parameters”UINodeData
Returns
Section titled “Returns”AnchorPreset | null