@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="MediaQueryListEvent")
public class MediaQueryListEvent
extends Event
AT_TARGET, BUBBLING_PHASE, cancelBubble, CAPTURING_PHASE, NONE, returnValue| Constructor and Description |
|---|
MediaQueryListEvent(java.lang.String type)
The MediaQueryListEvent constructor creates a new MediaQueryListEvent instance.
|
MediaQueryListEvent(java.lang.String type,
MediaQueryListEventInit eventInitDict)
The MediaQueryListEvent constructor creates a new MediaQueryListEvent instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches()
The matches read-only property of the MediaQueryListEvent interface is a Boolean that returns true if the document currently matches the media query list, or false if not.
|
java.lang.String |
media()
The media read-only property of the MediaQueryListEvent interface is a DOMString representing a serialized media query.
|
bubbles, cancelable, composed, composedPath, currentTarget, defaultPrevented, eventPhase, initEvent, initEvent, initEvent, isTrusted, preventDefault, srcElement, stopImmediatePropagation, stopPropagation, target, timeStamp, typeassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic MediaQueryListEvent(@Nonnull
java.lang.String type,
@Nonnull
MediaQueryListEventInit eventInitDict)
public MediaQueryListEvent(@Nonnull
java.lang.String type)
@JsProperty(name="matches") public boolean matches()
@JsProperty(name="media") @Nonnull public java.lang.String media()