final class OfEventType[E <: Event] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- OfEventType
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new OfEventType(_unused: Boolean)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- 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]
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.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any