1// GENERATED CONTENT - DO NOT EDIT 2// Content was automatically extracted by Reffy into webref 3// (https://github.com/w3c/webref) 4// Source: Fullscreen API Standard (https://fullscreen.spec.whatwg.org/) 5 6enum FullscreenNavigationUI { 7 "auto", 8 "show", 9 "hide" 10}; 11 12dictionary FullscreenOptions { 13 FullscreenNavigationUI navigationUI = "auto"; 14}; 15 16partial interface Element { 17 Promise<undefined> requestFullscreen(optional FullscreenOptions options = {}); 18 19 attribute EventHandler onfullscreenchange; 20 attribute EventHandler onfullscreenerror; 21}; 22 23partial interface Document { 24 [LegacyLenientSetter] readonly attribute boolean fullscreenEnabled; 25 [LegacyLenientSetter, Unscopable] readonly attribute boolean fullscreen; // historical 26 27 Promise<undefined> exitFullscreen(); 28 29 attribute EventHandler onfullscreenchange; 30 attribute EventHandler onfullscreenerror; 31}; 32 33partial interface mixin DocumentOrShadowRoot { 34 [LegacyLenientSetter] readonly attribute Element? fullscreenElement; 35}; 36