()
| 61 | } |
| 62 | |
| 63 | export function getScrollTop () { |
| 64 | const dd = document.documentElement; |
| 65 | let scrollTop = 0; |
| 66 | if (dd && dd.scrollTop) { |
| 67 | scrollTop = dd.scrollTop; |
| 68 | } else if (document.body) { |
| 69 | scrollTop = document.body.scrollTop; |
| 70 | } |
| 71 | return scrollTop; |
| 72 | } |
| 73 | |
| 74 | export function overView (el, pad = 0) { |
| 75 | let height = window.innerHeight || document.documentElement.clientHeight; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…