MediaQueryListEventInit Class
https://drafts.csswg.org/cssom-view/#dictdef-mediaquerylisteventinit
public sealed class MediaQueryListEventInit : EventInit- Inheritance
EventInitMediaQueryListEventInit
Constructors
| Name | Description |
|---|---|
| MediaQueryListEventInit() |
MediaQueryListEventInit()
MediaQueryList.cspublic MediaQueryListEventInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| Matches | Gets a value indicating whether the document matches the media query list. |
| Media | Gets the serialized media query list of the event. |
Matches
MediaQueryList.csGets a value indicating whether the document matches the media query list.
public bool Matches { get; init; }Media
MediaQueryList.csGets the serialized media query list of the event.
public string Media { get; init; }