()
| 52 | * @memberof Core |
| 53 | */ |
| 54 | export function documentHeight() { |
| 55 | return Math.max( |
| 56 | document.documentElement.clientHeight, |
| 57 | document.body.scrollHeight, |
| 58 | document.documentElement.scrollHeight, |
| 59 | document.body.offsetHeight, |
| 60 | document.documentElement.offsetHeight, |
| 61 | ) |
| 62 | } |
| 63 | |
| 64 | /** |
| 65 | * Checks if a node is an element |
nothing calls this directly
no outgoing calls
no test coverage detected