The MediaQueryListEvent object stores information on the changes
have happened to a web.cssdom.MediaQueryList
object — instances
available as the event object on a function referenced by a MediaQueryList.onchange
or MediaQueryList.addListener()
call.
The MediaQueryListEvent object stores information on the changes have happened to a `web.cssdom.MediaQueryList` object — instances available as the event object on a function referenced by a `MediaQueryList.onchange` or `MediaQueryList.addListener()` call.
(constructor & args)
Constructor.
The MediaQueryListEvent constructor creates a new MediaQueryListEvent instance.
init
An init object that defines features of the new object instance. The available properties are:
media: A web.DOMString
representing a serialized media query.
matches: A js.Boolean
representing the media query status — true if it matches, false if not.
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/MediaQueryListEvent
Constructor. The MediaQueryListEvent constructor creates a new MediaQueryListEvent instance. init An init object that defines features of the new object instance. The available properties are: media: A `web.DOMString` representing a serialized media query. matches: A `js.Boolean` representing the media query status — true if it matches, false if not. See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/MediaQueryListEvent`
(matches this)
Property.
[Read Only]
The matches read-only property of the web.media.MediaQueryListEvent
is a js.Boolean
that returns true if the document
currently
the media query list, or false if not.
var matches = MediaQueryListEvent.matches;
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/matches
Property. [Read Only] The matches read-only property of the `web.media.MediaQueryListEvent` is a `js.Boolean` that returns true if the `document` currently the media query list, or false if not. `var matches = MediaQueryListEvent.matches;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/matches`
(media this)
Property.
[Read Only]
The media read-only property of the web.media.MediaQueryListEvent
is a web.DOMString
representing a serialized media query.
var media = MediaQueryListEvent.media;
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/media
Property. [Read Only] The media read-only property of the `web.media.MediaQueryListEvent` is a `web.DOMString` representing a serialized media query. `var media = MediaQueryListEvent.media;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/media`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close