Skip to content

MediaQueryListEvent

Generated from idl/uievents.webidl when the site was built at 7aa23e2.

MediaQueryListEvent is an interface in idl/uievents.webidl, inheriting Event, exposed in Window. What it does is on MDN; this page says what niso has of it.

The web features its members belong to, each with its Baseline status on the web and how much of the feature’s WPT suite passes in niso (see Web platform support).

Feature On the web In niso Members
matchMedia Widely available Partial 40% 43 of 106 subtests pass 4
constructor
constructor(DOMString type, optional MediaQueryListEventInit eventInitDict = {});
int32_t niso_media_query_list_event_new(niso_dom* dom, const char* type, size_t type_len, const niso_media_query_list_event_init* event_init_dict, niso_handle* out);
attribute
readonly attribute DOMString media;
int32_t niso_media_query_list_event_get_media(niso_dom* dom, niso_handle self, niso_str* out);
attribute
readonly attribute boolean matches;
int32_t niso_media_query_list_event_get_matches(niso_dom* dom, niso_handle self, bool* out);