UIEventInit Class

https://w3c.github.io/uievents/#dictdef-uieventinit

public class UIEventInit : EventInit
Inheritance
EventInit UIEventInit

Constructors

NameDescription
UIEventInit()

UIEventInit()

public UIEventInit()

No documentation is available.

Properties

NameDescription
DetailGets the detail of the event, whose meaning depends on the event type (for example the click count).
PseudoTargetGets the pseudo-element that is the target of the interaction, or null (https://github.com/w3c/uievents/pull/413).
ViewThe Window of the event; documents have no browsing context, so it is an arbitrary event target provided by the host.
WhichGets the legacy numeric code of the key or button of the event.

Gets the detail of the event, whose meaning depends on the event type (for example the click count).

public int Detail { get; init; }

PseudoTarget

UIEvents.cs
  • Experimental (WEBPLATEXP0008)

Gets the pseudo-element that is the target of the interaction, or null (https://github.com/w3c/uievents/pull/413).

[Experimental("WEBPLATEXP0008", UrlFormat = "https://github.com/meziantou/Meziantou.Framework/blob/main/src/Meziantou.Framework.WebPlatform/docs/experimental-apis.md#{0}")]
public CssPseudoElement? PseudoTarget { get; init; }

The Window of the event; documents have no browsing context, so it is an arbitrary event target provided by the host.

public EventTarget? View { get; init; }

Gets the legacy numeric code of the key or button of the event.

public uint Which { get; init; }