# StateThe Fullscreen API adds methods to present a specific Element (and its descendants) in full-screen mode, and to exit full-screen mode once it is no longer needed. This makes it possible to present desired content—such as an online game—using the user's entire screen, removing all browser user interface elements and other applications from the screen until full-screen mode is shut off.
The useFullscreen
function exposes the following reactive state:
Boolean
If the element is currently in full screen mode. # Methods
The useFullscreen
function exposes the following methods:
enterFullscreen(void)
Enters the fullscreen mode for the element. exitFullscreen(void)
Exits the fullscreen mode from all elements. # Example
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4