Methods
This section describes the methods for media query listeners.
In this section
| Topic | Description |
|---|---|
|
Accepts a string containing one or more media queries, and returns a MediaQueryList object. | |
|
Adds the callback function to the list of listeners for the MediaQueryList object. The function is called whenever the evaluation of the media query changes. | |
|
Removes the given callback function from the list of listeners for this MediaQueryList object. | |
|
Assigns a media query list that is used to trigger a callback from the MediaQueryListListener. |
Show: