Class

japgolly.scalajs.react

ReactExt_ReactEventExt

Related Doc: package react

Permalink

implicit final class ReactExt_ReactEventExt[E <: ReactEvent] extends AnyVal

Annotations
@inline()
Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReactExt_ReactEventExt
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReactExt_ReactEventExt(e: E)

    Permalink

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def extract[A, B](getNow: (E) ⇒ A)(useAsync: (A) ⇒ B): B

    Permalink

    If you want to access the event properties in an asynchronous way (eg.

    If you want to access the event properties in an asynchronous way (eg. in a modState(…) function), React will have recycled the event by the time the asynchronous call executes.

    This convenience function extracts a value from the event synchronously (i.e. now!) and so that it is available to the asynchronous code.

    Annotations
    @inline()
  6. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. def preventDefaultCB: Callback

    Permalink

    Stops the default action of an element from happening.

    Stops the default action of an element from happening. For example: Prevent a submit button from submitting a form Prevent a link from following the URL

    Annotations
    @inline()
  9. def stopPropagationCB: Callback

    Permalink

    Stops the bubbling of an event to parent elements, preventing any parent event handlers from being executed.

    Stops the bubbling of an event to parent elements, preventing any parent event handlers from being executed.

    Annotations
    @inline()
  10. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped