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 c597a2e commit a23d648Copy full SHA for a23d648
README.md
@@ -505,6 +505,26 @@ function isJson(str) {
505
}
506
```
507
508
+# getBoundingClientRect
509
+
510
+```javascript
511
+//getBoundingClientRect provides you with important pieces of data about an
512
+//HTML element’s size and positioning.
513
514
+const bodyBounderies = document.body.getBoundingClientRect();
515
+// => {
516
+// top: Number,
517
+// left: Number,
518
+// right: Number,
519
+// bottom: Number,
520
+// x: Number,
521
+// y: Number,
522
+// width: Number,
523
+// height: Number,
524
+// }
525
+```
526
527
528
529
530
0 commit comments