Skip to main content

Function: getFirstOpaqueParent()

getFirstOpaqueParent(node: Readonly<Node>): Readonly<{ current: Readonly<Node>; parent: Readonly<Node>; }> | undefined

Defined in: _internal/floating-resource.ts:92

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