Files
ladybird/Libraries/LibWeb/Fullscreen/DocumentExtensions.idl
Simon Farre 04d1e2bf3d LibWeb: Implement exitFullscreen algorithm
Exiting fullscreen from the UI will be added in future commits.
2026-02-23 18:44:26 +00:00

13 lines
419 B
Plaintext

#import <DOM/EventHandler.idl>
// https://fullscreen.spec.whatwg.org/#ref-for-document
partial interface Document {
[LegacyLenientSetter] readonly attribute boolean fullscreenEnabled;
[LegacyLenientSetter, Unscopable] readonly attribute boolean fullscreen; // historical
Promise<undefined> exitFullscreen();
attribute EventHandler onfullscreenchange;
attribute EventHandler onfullscreenerror;
};