MediaQueryListEvent

open class MediaQueryListEvent(val type: EventType<MediaQueryListEvent>, init: MediaQueryListEventInit = definedExternally) : Event(source)

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.change_event event.

MDN Reference

Constructors

Link copied to clipboard
constructor(type: EventType<MediaQueryListEvent>, init: MediaQueryListEventInit = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The matches read-only property of the MediaQueryListEvent interface is a boolean value that is true if the document currently matches the media query list, or false if not.

Link copied to clipboard

The media read-only property of the MediaQueryListEvent interface is a string representing a serialized media query.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val type: EventType<MediaQueryListEvent>

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard