FormEventProps
- Type parameters:
- DomElementTargetEvent
An event that has an Element as
target
. This event type has no corresponding type in JS DOM. See our ownTypedTargetEvent
trait.- DomFormElementTargetEvent
An event that has an HTMLFormElement as
target
. This event type has no corresponding type in JS DOM. See our ownTypedTargetEvent
trait.- DomHtmlElementTargetEvent
An event that has an HTMLElement as
target
. This event type has no corresponding type in JS DOM. See our ownTypedTargetEvent
trait.- DomInputElementTargetEvent
An event that has an HTMLInputElement as
target
. This event type has no corresponding type in JS DOM. See our ownTypedTargetEvent
trait. - Strictly speaking, this type is not applicable toonInput
because the latter can be fired on any HTMLElement that hascontentEditable
mode enabled. - Similarly foronChange
andonSelect
– these could also fire on anHTMLTextAreaElement
.- DomInputEvent
DOM InputEvent https://developer.mozilla.org/en-US/docs/Web/API/InputEvent Note: This type is not implemented in scala-js-dom
Value members
Concrete fields
The blur event is raised when an element loses focus.
The blur event is raised when an element loses focus.
MDN
The change event is fired for input, select, and textarea elements when a change to the element's value is committed by the user.
The change event is fired for input, select, and textarea elements when a change to the element's value is committed by the user.
MDN
The focus event is raised when the user sets focus on the given element.
The focus event is raised when the user sets focus on the given element.
MDN
The input event is fired for input, select, textarea, and contentEditable elements when it gets user input.
The input event is fired for input, select, textarea, and contentEditable elements when it gets user input.
Fires when the user writes something in a search field (for <input="search">)
Fires when the user writes something in a search field (for <input="search">)
The select event only fires when text inside a text input or textarea is selected. The event is fired after the text has been selected.
The select event only fires when text inside a text input or textarea is selected. The event is fired after the text has been selected.
MDN