Get to know MDN better
This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2020.
The MediaQueryListEvent object stores information on the changes that have happened to a MediaQueryList object — instances are available as the event object on a function referenced by a change event.
Event MediaQueryListEventCreates a new MediaQueryListEvent instance.
The MediaQueryListEvent interface inherits properties from its parent interface, Event.
MediaQueryListEvent.matches Read onlyA boolean value that is true if the document currently matches the media query list, or false if not.
MediaQueryListEvent.media Read onlyA string representing a serialized media query.
The MediaQueryListEvent interface inherits methods from its parent interface, Event.
| CSSOM View Module # the-mediaquerylist-interface |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Nov 7, 2025 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.