6 lines
249 B
JavaScript
6 lines
249 B
JavaScript
/**
|
|
* Test usage export. Do not use in your production
|
|
*/
|
|
export function isBodyOverflowing() {
|
|
return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight) && window.innerWidth > document.body.offsetWidth;
|
|
} |