Spec-Zone.ru › Haxe JavaScript

MediaQueryListEvent

package js.html

extends Event

Available on js

The MediaQueryListEvent object stores information on the changes that have happened to a MediaQueryList object — instances are available as the event object on a function referenced by a MediaQueryList.onchange property or MediaQueryList.addEvent() call.

Documentation MediaQueryListEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

  • https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryListEvent

Constructor

new(type:String, ?eventInitDict:Null<MediaQueryListEventInit>)

Throws:

null

DOMError

Variables

read onlymatches:Bool

A Boolean that returns true if the document currently matches the media query list, or false if not.

read onlymedia:String

A DOMString representing a serialized media query.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/MediaQueryListEvent.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API