requestFullscreenAsync

open external fun requestFullscreenAsync(options: FullscreenOptions = definedExternally): Promise<Void>(source)

The requestFullscreen() method of the Element interface issues an asynchronous request to display the element in fullscreen mode.

MDN Reference