Baseline Widely other
checkVisibility()
The checkVisibility() method checks if an element is potentially visible, with optional parameters for the kinds of visibility to check. For example, it checks whether the element has the style display: none, but can also check for visibility: hidden.
Baseline Status
Widely Available
Since 2024-03-05
First Core Launch
Chrome 105
2022-09-02
Core-3 Stability
550d (1.5y)
Last: Safari (2024-03-05)
BCD Keys Mapped
6
Group: other
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Edge | desktop | 105 | 2022-09-01 |
| Chrome | desktop | 105 | 2022-09-02 |
| Chrome Android | mobile | 105 | 2022-09-02 |
| Firefox | desktop | 106 | 2022-10-18 |
| Firefox for Android | mobile | 106 | 2022-10-18 |
| Safari | desktop | 17.4 | 2024-03-05 |
| Safari on iOS | mobile | 17.4 | 2024-03-05 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| api.Element.checkVisibility | DOM API | 550d (1.5y) |
| api.Element.checkVisibility.options_checkOpacity_parameter | DOM API | 550d (1.5y) |
| api.Element.checkVisibility.options_checkVisibilityCSS_parameter | DOM API | 550d (1.5y) |
| api.Element.checkVisibility.options_contentVisibilityAuto_parameter | DOM API | 42d |
| api.Element.checkVisibility.options_opacityProperty_parameter | DOM API | 42d |
| api.Element.checkVisibility.options_visibilityProperty_parameter | DOM API | 42d |