Skip to content

@fabwcie/free-drawing / utils/frame / getFrameOfTitle

Function: getFrameOfTitle() ​

getFrameOfTitle(node): Frame | null

Defined in: packages/free-drawing/src/utils/frame.ts:145

Frame of a title, if it is one

Parameters ​

node ​

Node

any node (hit node, double clicked node...)

Returns ​

Frame | null

frame whose title is the node, null for other nodes