Liking cljdoc? Tell your friends :D
ClojureScript only.

web.media.MediaQueryListEvent

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.
raw docstring

matchescljs

(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`
sourceraw docstring

mediacljs

(media this)

Property.

[Read Only]

The media read-only property of the web.media.MediaQueryListEvent is a web.dom.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.dom.DOMString` representing a serialized media query.

`var media = MediaQueryListEvent.media;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent/media`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close