Trait

com.raquo.domtypes.generic.defs.eventProps

FormEventProps

Related Doc: package eventProps

Permalink

trait FormEventProps[EP[_ <: DomEvent], DomEvent, DomElementFocusEvent <: DomElementTargetEvent, DomInputEvent <: DomEvent, DomElementTargetEvent <: DomEvent, DomHtmlElementTargetEvent <: DomEvent, DomFormElementTargetEvent <: DomEvent, DomInputElementTargetEvent <: DomEvent] extends AnyRef

DomInputEvent

DOM InputEvent https://developer.mozilla.org/en-US/docs/Web/API/InputEvent Note: This type is not implemented in scala-js-dom

DomElementTargetEvent

An event that has an Element as target. This event type has no corresponding type in JS DOM. See our own TypedTargetEvent trait.

DomHtmlElementTargetEvent

An event that has an HTMLElement as target. This event type has no corresponding type in JS DOM. See our own TypedTargetEvent trait.

DomFormElementTargetEvent

An event that has an HTMLFormElement as target. This event type has no corresponding type in JS DOM. See our own TypedTargetEvent trait.

DomInputElementTargetEvent

An event that has an HTMLInputElement as target. This event type has no corresponding type in JS DOM. See our own TypedTargetEvent trait.

  • Strictly speaking, this type is not applicable to onInput because the latter can be fired on any HTMLElement that has contentEditable mode enabled.
  • Similarly for onChange and onSelect – these could also fire on an HTMLTextAreaElement.
Self Type
FormEventProps[EP, DomEvent, DomElementFocusEvent, DomInputEvent, DomElementTargetEvent, DomHtmlElementTargetEvent, DomFormElementTargetEvent, DomInputElementTargetEvent] with EventPropBuilder[EP, DomEvent]
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FormEventProps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  14. lazy val onBlur: EP[DomElementFocusEvent]

    Permalink

    The blur event is raised when an element loses focus.

    The blur event is raised when an element loses focus.

    MDN

  15. lazy val onChange: EP[DomHtmlElementTargetEvent]

    Permalink

    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

  16. lazy val onFocus: EP[DomElementFocusEvent]

    Permalink

    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

  17. lazy val onInput: EP[DomHtmlElementTargetEvent]

    Permalink

    The input event is fired for input, select, textarea, and contentEditable elements when it gets user input.

  18. lazy val onInvalid: EP[DomElementTargetEvent]

    Permalink

    Script to be run when an element is invalid

  19. lazy val onReset: EP[DomFormElementTargetEvent]

    Permalink

    The reset event is fired when a form is reset.

    The reset event is fired when a form is reset.

    MDN

  20. lazy val onSearch: EP[DomInputElementTargetEvent]

    Permalink

    Fires when the user writes something in a search field (for <input="search">)

  21. lazy val onSelect: EP[DomHtmlElementTargetEvent]

    Permalink

    The select event only fires when text inside a text input or textarea is 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

  22. lazy val onSubmit: EP[DomFormElementTargetEvent]

    Permalink

    The submit event is fired when the user clicks a submit button in a form (). MDN

    The submit event is fired when the user clicks a submit button in a form (). MDN

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped