Skip to content

@sqlrooms/layout / findNodeById

Function: findNodeById() ​

findNodeById(root, nodeId, ancestors?): FindNodeByIdResult | undefined

Parameters ​

ParameterTypeDefault value
rootLayoutNode | null | undefinedundefined
nodeIdstringundefined
ancestorsLayoutNode[][]

Returns ​

FindNodeByIdResult | undefined