Events dispatched by the
staticinlineread onlySUBMIT:EventType<FormEvent> = "submit"
FormEvent.SUBMIT event type is dispatched when a form is
submitted, either by clicking the submit button or pressing the enter
key when a control in the form has focus.
Dispatches a pooled event with the specified properties.
Creates a new
FormEvent object with the given arguments.