ladybird/Libraries/LibWeb/Fullscreen/ElementExtensions.idl
Simon Farre bc17805b2b LibWeb: Implement requestFullscreen algorithm
The required functionality to exit fullscreen will be in a followup
commit.
2026-02-23 18:44:26 +00:00

9 lines
256 B
Text

#import <DOM/EventHandler.idl>
// https://fullscreen.spec.whatwg.org/#ref-for-element
partial interface Element {
Promise<undefined> requestFullscreen();
attribute EventHandler onfullscreenchange;
attribute EventHandler onfullscreenerror;
};