We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ca914f commit 76473c7Copy full SHA for 76473c7
frontend/src/ts/utils/dom.ts
@@ -580,7 +580,7 @@ export class ElementWithUtils<T extends HTMLElement = HTMLElement> {
580
}
581
582
/**
583
- * Get the element's bounding client rect offset
+ * Get the element's screen bounds: top, left, width and height
584
*/
585
screenBounds(): { top: number; left: number; width: number; height: number } {
586
const rect = this.native.getBoundingClientRect();
0 commit comments