exitFullscreen method Null safety
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI), override
Returns page to standard layout.
Has no effect if the page is not in fullscreen mode.
Other resources
- Fullscreen API from MDN.
- Fullscreen specification from W3C.
Implementation
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.SAFARI)
void exitFullscreen() {
_webkitExitFullscreen();
}