DIR : /home/kozerus/public_html/cropex/node/node_modules/@radix-ui/rect/dist/index.d.ts

/home/kozerus/public_html/cropex/node/node_modules/@radix-ui/rect/dist

type Measurable = {
    getBoundingClientRect(): DOMRect;
};
/**
 * Observes an element's rectangle on screen (getBoundingClientRect)
 * This is useful to track elements on the screen and attach other elements
 * that might be in different layers, etc.
 */
declare function observeElementRect(
/** The element whose rect to observe */
elementToObserve: Measurable, 
/** The callback which will be called when the rect changes */
callback: CallbackFn): () => void;
type CallbackFn = (rect: DOMRect) => void;

export { type Measurable, observeElementRect };
//


koh5_pano



Your browser does not support the HTML5 canvas element.


Drag mouse to navigate.

Navigation





17.Aug.2010, Martin Wengenmayer