1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:27:46 +00:00

LibWeb: Implement MediaQueryList.onchange

This commit is contained in:
Luke Wilde 2021-10-01 01:33:10 +01:00 committed by Linus Groh
parent 61e9e80232
commit 46686f7f94
3 changed files with 15 additions and 2 deletions

View file

@ -2,8 +2,7 @@
interface MediaQueryList : EventTarget {
readonly attribute CSSOMString media;
readonly attribute boolean matches;
// TODO:
undefined addListener(EventListener? callback);
undefined removeListener(EventListener? callback);
// attribute EventHandler onchange;
attribute EventHandler onchange;
};