exitFullscreen method

JSPromise<JSAny?> exitFullscreen()

The Document method exitFullscreen() requests that the element on this document which is currently being presented in fullscreen mode be taken out of fullscreen mode, restoring the previous state of the screen. This usually reverses the effects of a previous call to Element.requestFullscreen.

Implementation

external JSPromise<JSAny?> exitFullscreen();