Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
import * as netzo from "https://deno.land/x/netzo@0.3.66/deps/@dnd-kit/core.ts";

Variables

Returns the closest rectangles from an array of rectangles to the center of a given rectangle.

Returns the closest rectangles from an array of rectangles to the corners of another rectangle.

Returns the rectangles that the pointer is hovering over

Returns the rectangles that has the greatest intersection area with a given rectangle in an array of rectangles.

Functions

Returns the bounding client rect of an element relative to the viewport.

Returns the first collision, or null if there isn't one. If a property is specified, returns the specified property of the first collision.