(el)
| 52 | } |
| 53 | |
| 54 | export function getOuterHeight (el) { |
| 55 | let height = el.clientHeight |
| 56 | + tryParseInt(el.style.borderTopWidth) |
| 57 | + tryParseInt(el.style.borderBottomWidth) |
| 58 | + tryParseInt(el.style.marginTop) |
| 59 | + tryParseInt(el.style.marginBottom); |
| 60 | return height; |
| 61 | } |
| 62 | |
| 63 | export function getScrollTop () { |
| 64 | const dd = document.documentElement; |
no test coverage detected
searching dependent graphs…