Function: getFirstOpaqueParent()
function getFirstOpaqueParent(node: Readonly<Node>):
| Readonly<{
current: Readonly<Node>;
parent: Readonly<Node>;
}>
| undefined;
Defined in: _internal/floating-resource.ts:91
Walk through transparent syntax wrappers and return the first parent that changes ownership semantics.
Parametersโ
nodeโ
Readonly<Node>
Returnsโ
| Readonly<{
current: Readonly<Node>;
parent: Readonly<Node>;
}>
| undefined