WebIDLpedia

MediaQueryList interface

Definition

CSSOM View Module defines MediaQueryList



[Exposed=Window]
interface MediaQueryList : EventTarget {
  readonly attribute CSSOMString media;
  readonly attribute boolean matches;
  undefined addListener(EventListener? callback);
  undefined removeListener(EventListener? callback);
           attribute EventHandler onchange;
};

Methods and attributes that return objects implementing MediaQueryList

Referring IDL interfaces/dictionaries