Liking cljdoc? Tell your friends :D

web.cssdom.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 web.cssdom.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 `web.cssdom.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.

[Read Only]

The matches read-only property of the web.cssdom.MediaQueryList is a js.Boolean that returns true if the 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.

[Read Only]

The matches read-only property of the `web.cssdom.MediaQueryList`
is a `js.Boolean` that returns true if the `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.

[Read Only]

The media read-only property of the web.cssdom.MediaQueryList is a web.DOMString representing a serialized media query.

var media = MediaQueryList.media;

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

Property.

[Read Only]

The media read-only property of the `web.cssdom.MediaQueryList`
is a `web.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 web.cssdom.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 web.media.MediaQueryListEvent instance, is recognised as a MediaListQuery instance in older browsers, backwards compatibility purposes.

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

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

Property.

The onchange property of the `web.cssdom.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 `web.media.MediaQueryListEvent` instance,
is recognised as a MediaListQuery instance in older browsers,
backwards 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 web.cssdom.MediaQueryList removes 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 `web.cssdom.MediaQueryList`
removes a listener from the MediaQueryListener.

`MediaQueryList.removeListener(func)`

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

set-onchange!cljs

(set-onchange! this val)

Property.

The onchange property of the web.cssdom.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 web.media.MediaQueryListEvent instance, is recognised as a MediaListQuery instance in older browsers, backwards compatibility purposes.

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

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

Property.

The onchange property of the `web.cssdom.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 `web.media.MediaQueryListEvent` instance,
is recognised as a MediaListQuery instance in older browsers,
backwards 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