EventInit Class

https://dom.spec.whatwg.org/#dictdef-eventinit

public class EventInit

Constructors

NameDescription
EventInit()

EventInit()

public EventInit()

No documentation is available.

Properties

NameDescription
BubblesGets a value indicating whether the event bubbles up through the tree.
CancelableGets a value indicating whether the event can be canceled with preventDefault().
ComposedGets a value indicating whether the event propagates across the shadow DOM boundary.

Bubbles

Event.cs

Gets a value indicating whether the event bubbles up through the tree.

public bool Bubbles { get; init; }

Cancelable

Event.cs

Gets a value indicating whether the event can be canceled with preventDefault().

public bool Cancelable { get; init; }

Composed

Event.cs

Gets a value indicating whether the event propagates across the shadow DOM boundary.

public bool Composed { get; init; }