A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://Tarektouati.github.io/vue-use-web/functions/fullscreen.html below:

Website Navigation


Full Screen | useWeb

# Full Screen

The 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.

# State

The useFullscreen function exposes the following reactive state:

State Type Description isFullscreen Boolean If the element is currently in full screen mode. # Methods

The useFullscreen function exposes the following methods:

Signature Description 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