matchMedia method

  1. @DomName('Window.matchMedia')
  2. @DocsEditable()
MediaQueryList matchMedia(String query)

Returns a list of media queries for the given query string.

Other resources

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