matches property
bool
get
matches
The matches read-only property of the
MediaQueryList interface is a boolean value that returns
true if the document currently matches the media query list,
or false if not.
You can be notified when the value of matches changes by watching for
the
MediaQueryList.change_event event to be fired at the
MediaQueryList.
Implementation
external bool get matches;