inViewport(element: Element, rect?: DOMRect)
Returns `true` if all edges of the element passed to the function are inside of the viewport
Test
CSS Properties
© 2022
Returns `true` if all edges of the element passed to the function are inside of the viewport