matchMedia method
- String query
Returns a list of media queries for the given query string.
Other resources
- Testing media queries from MDN.
- The MediaQueryList specification from W3C.
Implementation
MediaQueryList matchMedia(String query) native;
Returns a list of media queries for the given query string.
MediaQueryList matchMedia(String query) native;