Liking cljdoc? Tell your friends :D

media.MediaQueryList

A MediaQueryList object stores information on a media query applied a document, with support for both immediate and event-driven against the state of the document.

A MediaQueryList object stores information on a media query applied
a document, with support for both immediate and event-driven
against the state of the document.
raw docstring

add-listenercljs

(add-listener this func)

Method.

The addListener() method of the media.MediaQueryList interface a listener to the MediaQueryListener that will run a custom callback in response to the media query status changing.

MediaQueryList.addListener(func)

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/addListener

Method.

The addListener() method of the `media.MediaQueryList` interface
a listener to the MediaQueryListener that will run a custom callback
in response to the media query status changing.

`MediaQueryList.addListener(func)`

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

matchescljs

(matches this)

Property.

The matches read-only property of the media.MediaQueryList is a web.Boolean that returns true if the web.document currently the media query list, or false if not.

var matches = MediaQueryList.matches;

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/matches

Property.

The matches read-only property of the `media.MediaQueryList`
is a `web.Boolean` that returns true if the `web.document` currently
the media query list, or false if not.

`var matches = MediaQueryList.matches;`

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

mediacljs

(media this)

Property.

The media read-only property of the media.MediaQueryList interface a dom.DOMString representing a serialized media query.

var media = MediaQueryList.media;

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/media

Property.

The media read-only property of the `media.MediaQueryList` interface
a `dom.DOMString` representing a serialized media query.

`var media = MediaQueryList.media;`

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

onchangecljs

(onchange this)

Property.

The onchange property of the media.MediaQueryList interface an event handler property representing a function that is invoked the change event fires, i.e when the status of media query support The event object is a media.MediaQueryListEvent instance, which recognised as a MediaListQuery instance in older browsers, for compatibility purposes.

MediaQueryList.onchange = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/onchange

Property.

The onchange property of the `media.MediaQueryList` interface
an event handler property representing a function that is invoked
the change event fires, i.e when the status of media query support
The event object is a `media.MediaQueryListEvent` instance, which
recognised as a MediaListQuery instance in older browsers, for
compatibility purposes.

`MediaQueryList.onchange = function() { ... };`

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

remove-listenercljs

(remove-listener this func)

Method.

The removeListener() method of the media.MediaQueryList interface a listener from the MediaQueryListener.

MediaQueryList.removeListener(func)

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/removeListener

Method.

The removeListener() method of the `media.MediaQueryList` interface
a listener from the MediaQueryListener.

`MediaQueryList.removeListener(func)`

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

set-matches!cljs

(set-matches! this val)

Property.

The matches read-only property of the media.MediaQueryList is a web.Boolean that returns true if the web.document currently the media query list, or false if not.

var matches = MediaQueryList.matches;

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/matches

Property.

The matches read-only property of the `media.MediaQueryList`
is a `web.Boolean` that returns true if the `web.document` currently
the media query list, or false if not.

`var matches = MediaQueryList.matches;`

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

set-media!cljs

(set-media! this val)

Property.

The media read-only property of the media.MediaQueryList interface a dom.DOMString representing a serialized media query.

var media = MediaQueryList.media;

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/media

Property.

The media read-only property of the `media.MediaQueryList` interface
a `dom.DOMString` representing a serialized media query.

`var media = MediaQueryList.media;`

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

set-onchange!cljs

(set-onchange! this val)

Property.

The onchange property of the media.MediaQueryList interface an event handler property representing a function that is invoked the change event fires, i.e when the status of media query support The event object is a media.MediaQueryListEvent instance, which recognised as a MediaListQuery instance in older browsers, for compatibility purposes.

MediaQueryList.onchange = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/onchange

Property.

The onchange property of the `media.MediaQueryList` interface
an event handler property representing a function that is invoked
the change event fires, i.e when the status of media query support
The event object is a `media.MediaQueryListEvent` instance, which
recognised as a MediaListQuery instance in older browsers, for
compatibility purposes.

`MediaQueryList.onchange = function() { ... };`

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

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

× close