goog.testing.style
Functions
expand_more
hasVisibleDimensions( element ) → boolean
boolean
Determines whether the element has visible dimensions, i.e. x > 0 && y > 0.
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|
expand_more
intersects( element, otherElement ) → boolean
boolean
Determines whether the bounding rectangles of the given elements intersect.
Parameters |
| ||||||||
---|---|---|---|---|---|---|---|---|---|
Returns |
|
expand_more
isOnScreen( el ) → boolean
boolean
Test whether the given element is on screen.
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|
expand_more
isVisible( element ) → boolean
boolean
Determines whether the CSS style of the element renders it visible. Elements detached from the document are considered invisible.
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|