MCPcopy Create free account
hub / github.com/Lobos/react-ui / overView

Function overView

src/utils/dom.js:74–78  ·  view source on GitHub ↗
(el, pad = 0)

Source from the content-addressed store, hash-verified

72}
73
74export 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
80export function computedStyle (el, attr) {
81 var lineHeight;

Callers 2

showOptionsFunction · 0.90
openMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…