Astro+Directus(Visual-Editing)+Snipcart Test-Stack
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
export default function observeRect(node: Element, cb: (rect: DOMRect) => void): {
|
||||
observe(): void;
|
||||
unobserve(): void;
|
||||
};
|
||||
export declare type PartialRect = Partial<DOMRect>;
|
||||
export declare type RectProps = {
|
||||
rect: DOMRect | undefined;
|
||||
hasRectChanged: boolean;
|
||||
callbacks: Function[];
|
||||
};
|
||||
Reference in New Issue
Block a user