Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function useNodeRef
import { useNodeRef } from "https://deno.land/x/netzo@0.3.66/deps/@dnd-kit/utilities.ts";

Parameters

optional
onChange: (newElement: HTMLElement | null, previousElement: HTMLElement | null) => void

Returns

readonly [import("https://esm.sh/v128/@types/react@18.2.38/X-ZS9yZWFjdCxyZWFjdC1kb20/index.d.ts").MutableRefObject<HTMLElement | null>, (element: HTMLElement | null) => void]