CommandEvent Class
https://html.spec.whatwg.org/multipage/interaction.html#commandevent
public sealed class CommandEvent : Event- Inheritance
EventCommandEvent
Constructors
| Name | Description |
|---|---|
| CommandEvent(string, CommandEventInit?) | Creates a command event with the given type and initialization dictionary. |
CommandEvent(string, CommandEventInit?)
HtmlEvents.csCreates a command event with the given type and initialization dictionary.
public CommandEvent(string type, CommandEventInit? eventInitDict = null)Properties
| Name | Description |
|---|---|
| Command | Gets the command that was invoked. |
| Source | https://html.spec.whatwg.org/multipage/interaction.html#dom-commandevent-source: the source retargeted against the current target. |
Command
HtmlEvents.csSource
HtmlEvents.cshttps://html.spec.whatwg.org/multipage/interaction.html#dom-commandevent-source: the source retargeted against the current target.
public Element? Source { get; }