(el, pad = 0)
| 72 | } |
| 73 | |
| 74 | export function overView (el, pad = 0) { |
| 75 | let height = window.innerHeight || document.documentElement.clientHeight; |
| 76 | let bottom = el.getBoundingClientRect().bottom + pad; |
| 77 | return bottom > height; |
| 78 | } |
| 79 | |
| 80 | export function computedStyle (el, attr) { |
| 81 | var lineHeight; |
no outgoing calls
no test coverage detected
searching dependent graphs…