![]() |
VOOZH | about |
The fullscreenEnabled() method in HTML DOM is used to check whether the document can be viewed in full-screen mode or not. It returns a single read-only Boolean value. This method may require specific prefixes to work with different browsers.
Syntax:
document.fullscreenEnabled()Parameters: This method does not accept any parameters.
Return Value: It returns a boolean value:
Example 1:
Output:👁 check_fullscreen_output
Example 2:
Output:
👁 go-fullscreen-output
Supported Browsers: The browser supported by fullscreenEnabled() method are listed below: