Skip to content

Commit 76473c7

Browse files
committed
chore: update comment
1 parent 0ca914f commit 76473c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/ts/utils/dom.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ export class ElementWithUtils<T extends HTMLElement = HTMLElement> {
580580
}
581581

582582
/**
583-
* Get the element's bounding client rect offset
583+
* Get the element's screen bounds: top, left, width and height
584584
*/
585585
screenBounds(): { top: number; left: number; width: number; height: number } {
586586
const rect = this.native.getBoundingClientRect();

0 commit comments

Comments
 (0)