Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/@dnd-kit/core.ts>getClientRect

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
function getClientRect
import { getClientRect } from "https://deno.land/x/netzo@0.4.72/deps/@dnd-kit/core.ts";

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

Parameters

element: Element
optional
options: Options

Returns

{ top: number; left: number; width: number; height: number; bottom: number; right: number; }