By default the function returns true if the element is at least partially visible inside the viewport. If you set this to true the method will only return true if the element is completely visible and does not collide with the outer bounds.
Generated using TypeDoc
An additional offset from the top of the viewport to take into consideration