CommandEventInit Class

https://html.spec.whatwg.org/multipage/interaction.html#commandeventinit

public sealed class CommandEventInit : EventInit
Inheritance
EventInit CommandEventInit

Constructors

NameDescription
CommandEventInit()

CommandEventInit()

HtmlEvents.cs
public CommandEventInit()

No documentation is available.

Properties

NameDescription
CommandGets the command that was invoked.
SourceGets the element that invoked the command.

Gets the command that was invoked.

public string Command { get; init; }

Gets the element that invoked the command.

public Element? Source { get; init; }