21 lines
573 B
Plaintext
21 lines
573 B
Plaintext
partial interface Element {
|
|
Promise<void> requestFullscreen();
|
|
|
|
attribute EventHandler onfullscreenchange;
|
|
attribute EventHandler onfullscreenerror;
|
|
};
|
|
|
|
partial interface Document {
|
|
[LenientSetter] readonly attribute boolean fullscreenEnabled;
|
|
[LenientSetter, Unscopable] readonly attribute boolean fullscreen; // historical
|
|
|
|
Promise<void> exitFullscreen();
|
|
|
|
attribute EventHandler onfullscreenchange;
|
|
attribute EventHandler onfullscreenerror;
|
|
};
|
|
|
|
partial interface DocumentOrShadowRoot {
|
|
[LenientSetter] readonly attribute Element? fullscreenElement;
|
|
};
|