Front-end developers add additional features to an application during development. Some of these features are not used as often as others, and can be simple, but a bit confusing.

Introducing Fullscreen API.

This browser API provides you with several methods and properties that you can use to enter, quit, or modify the fullscreen state.

In this article, we will explore how to utilize Fullscreen API by using the example of the fullscreen button.

Basics

First, we need to make sure it is possible to enter fullscreen on a page using the document.fullscreenEnabled property. …

Alexander Dementyev

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store