@Generated(value="org.realityforge.webtack") @JsType(isNative=true, namespace="<global>", name="SubmitEvent") public class SubmitEvent extends Event
AT_TARGET, BUBBLING_PHASE, cancelBubble, CAPTURING_PHASE, NONE, returnValue
Constructor and Description |
---|
SubmitEvent(java.lang.String type)
The SubmitEvent() constructor creates and returns a new SubmitEvent object, which is used to represent a submit event fired at an HTML form.
|
SubmitEvent(java.lang.String type,
SubmitEventInit eventInitDict)
The SubmitEvent() constructor creates and returns a new SubmitEvent object, which is used to represent a submit event fired at an HTML form.
|
Modifier and Type | Method and Description |
---|---|
HTMLElement |
submitter()
The read-only submitter property found on the SubmitEvent interface specifies the submit button or other element that was invoked to cause the form to be submitted.
|
bubbles, cancelable, composed, composedPath, currentTarget, defaultPrevented, eventPhase, initEvent, initEvent, initEvent, isTrusted, preventDefault, srcElement, stopImmediatePropagation, stopPropagation, target, timeStamp, type
public SubmitEvent(@Nonnull java.lang.String type, @Nonnull SubmitEventInit eventInitDict)
public SubmitEvent(@Nonnull java.lang.String type)
@JsProperty(name="submitter") @Nullable public HTMLElement submitter()