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.
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close