Skip to main content
Media Query Listeners

As the choice of hardware and devices available to consumers to view webpages expands, developers need tools to monitor the environment their pages are running in. Media Query Listeners allow developers to register listeners that monitor and call back when a specific change happens to the media environment, such as screen size.

This section describes features that are defined in the CSS Object Model (CSSOM) View specification.

In this section



This section describes the properties for media query listeners.


This section describes the methods for media query listeners.


This section describes the objects for media query listeners.