The container to check if the element is in view of.
The element to check if it is view
true if partial view is allowed
Optional
strict: booleantrue if strict mode is set, never consider the container width and element width
True if the component is in View.
This function returns whether or not an element is within the viewable area of a container. If partial is true, then this function will return true even if only part of the element is in view.