Shumoku Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.0 · function

findContainerOverlaps

Source

Find pairs of container boxes that overlap where NEITHER is an ancestor of the other (nesting is legal containment, not interference).

findContainerOverlaps(boxes: readonly BoxBounds[]): ContainerOverlap[]

Parameters

Parameter Type Description Default
boxes readonly BoxBounds[] No additional description.

Returns

ContainerOverlap[]

libs/@shumoku/core/src/layout/invariants.ts:506