Class

japgolly.scalajs.react.extra.EventListener

OfEventType

Related Doc: package EventListener

Permalink

final class OfEventType[E <: Event] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OfEventType
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OfEventType(_unused: Boolean)

    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 getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. def install[P, C <: Children, S, B <: OnUnmount, U <: UpdateSnapshot](eventType: String, listener: (MountedPure[P, S, B]) ⇒ (E) ⇒ Callback, target: (MountedImpure[P, S, B]) ⇒ EventTarget = defaultTarget[P, S, B], useCapture: Boolean = false): (Step4[P, C, S, B, U]) ⇒ Step4[P, C, S, B, U]

    Permalink

    Install an event listener when a component is mounted.

    Install an event listener when a component is mounted. Automatically uninstalls the event listener when the component is unmounted.

    eventType

    A string representing the event type to listen for.

    useCapture

    If true, useCapture indicates that the user wishes to initiate capture. After initiating capture, all events of the specified type will be dispatched to the registered listener before being dispatched to any EventTarget beneath it in the DOM tree. Events which are bubbling upward through the tree will not trigger a listener designated to use capture.

  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped