Dart API Referencedart:htmlMediaQueryListListener

MediaQueryListListener Interface

DRAFT
This page is not complete.

A MediaQueryList object maintains a list of media queries on a document , and handles sending notifications to listeners when the media queries on the document change.

This makes it possible to observe a document to detect when its media queries change, instead of polling the values periodically, if you need to programmatically detect changes to the values of media queries on a document.

Methods

Code void queryChanged(MediaQueryList list) #

void queryChanged(MediaQueryList list);

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.