RichEventTarget

fm.common.rich.RichEventTarget
final class RichEventTarget(val self: EventTarget) extends AnyVal with EventTargetOrTargets

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def addEventListener[T <: Event](tpe: String)(f: Function1[T, _]): Unit
def removeEventListener[T <: Event](tpe: String)(f: Function1[T, _]): Unit

Inherited methods

final def addEventListener[T <: Event](tpe: EventType[T])(f: Function1[T, _]): Unit

Attributes

Inherited from:
EventTargetOrTargets
final def off[T <: Event](tpe: EventType[T])(f: Function1[T, _]): Unit

Attributes

Inherited from:
EventTargetOrTargets
final def off[T <: Event](tpe: String)(f: Function1[T, _]): Unit

Attributes

Inherited from:
EventTargetOrTargets
final def offJQueryEvent(tpe: String, f: Function1[JQueryEventObject, Any]): Unit

Attributes

Inherited from:
EventTargetOrTargets
final def offJQueryEvent(tpe: String): Unit

Attributes

Inherited from:
EventTargetOrTargets
final def on[T <: Event](tpe: EventType[T]): EventAttachments[T]

Attributes

Inherited from:
EventTargetOrTargets
final def on[T <: Event](tpe: String): EventAttachments[T]

Attributes

Inherited from:
EventTargetOrTargets
final def onJQueryEvent(tpe: String): JQueryEventAttachments

Attributes

Inherited from:
EventTargetOrTargets
final def one[T <: Event, E](tpe: EventType[T])(f: T => E): Unit

Only execute the event once

Only execute the event once

Attributes

Inherited from:
EventTargetOrTargets
final def one[T <: Event, E](tpe: String)(f: T => E): Unit

Only execute the event once

Only execute the event once

Note: This is NOT compatible with off()

Attributes

Inherited from:
EventTargetOrTargets
final def oneJQueryEvent(tpe: String): JQueryEventAttachments

Attributes

Inherited from:
EventTargetOrTargets
final def removeEventListener[T <: Event](tpe: EventType[T])(f: Function1[T, _]): Unit

Attributes

Inherited from:
EventTargetOrTargets

Concrete fields

val self: EventTarget