@sqlrooms/layout / resolvePanelIdentity
Function: resolvePanelIdentity()
resolvePanelIdentity(
node):PanelIdentityResult
Resolves the panel identity from a layout node.
For all object nodes (panel, dock, split, tabs):
- If panel exists (string): returns the string as panelId
- If panel exists (object): returns key as panelId and meta
- If panel is missing: returns null (nothing to render)
For string node keys, returns the key as panelId.
Parameters
| Parameter | Type |
|---|---|
node | LayoutNode |
