SubmitEvent Class

https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#submitevent

public sealed class SubmitEvent : Event
Inheritance
Event SubmitEvent

Constructors

NameDescription
SubmitEvent(string, SubmitEventInit?)Creates a submit event with the given type and initialization dictionary.

SubmitEvent(string, SubmitEventInit?)

FormData.cs

Creates a submit event with the given type and initialization dictionary.

public SubmitEvent(string type, SubmitEventInit? eventInitDict = null)

Properties

NameDescription
SubmitterGets the element that was used to submit the form, or null when the form was submitted by other means.

Submitter

FormData.cs

Gets the element that was used to submit the form, or null when the form was submitted by other means.

public HtmlElement? Submitter { get; }