matchMedia method
- @DomName('Window.matchMedia')
- @DocsEditable()
Returns a list of media queries for the given query string.
Other resources
- Testing media queries from MDN.
- The MediaQueryList specification from W3C.
Source
@DomName('Window.matchMedia') @DocsEditable() MediaQueryList matchMedia(String query) => _blink.BlinkWindow.instance.matchMedia_Callback_1_(this, query);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Window/matchMedia.html