MediaQueryList

A MediaQueryList object stores information on a media query applied to a document, with support for both immediate and event-driven matching against the state of the document.

MDN Reference

Properties

Link copied to clipboard

The matches read-only property of the true if the document currently matches the media query list, or false if not.

Link copied to clipboard

The media read-only property of the serialized media query.

Functions

Link copied to clipboard
Link copied to clipboard