MediaQueryListEventInit Class

https://drafts.csswg.org/cssom-view/#dictdef-mediaquerylisteventinit

public sealed class MediaQueryListEventInit : EventInit
Inheritance
EventInit MediaQueryListEventInit

Constructors

NameDescription
MediaQueryListEventInit()

MediaQueryListEventInit()

MediaQueryList.cs
public MediaQueryListEventInit()

No documentation is available.

Properties

NameDescription
MatchesGets a value indicating whether the document matches the media query list.
MediaGets the serialized media query list of the event.

Gets a value indicating whether the document matches the media query list.

public bool Matches { get; init; }

Gets the serialized media query list of the event.

public string Media { get; init; }