Options
All
  • Public
  • Public/Protected
  • All
Menu

currentTarget - a reference to the element on which the event listener is registered.

target - a reference to the element from which the event was originally dispatched. This might be a child element to the element on which the event listener is registered. If you thought this should be EventTarget & T, see https://github.com/DefinitelyTyped/DefinitelyTyped/issues/11508#issuecomment-256045682

Type parameters

Hierarchy

Index

Properties

bubbles: boolean
cancelable: boolean
currentTarget: EventTarget & T
defaultPrevented: boolean
eventPhase: number
isTrusted: boolean
nativeEvent: E
target: EventTarget
timeStamp: number
type: string

Methods

  • isDefaultPrevented(): boolean
  • isPropagationStopped(): boolean
  • persist(): void
  • preventDefault(): void
  • stopPropagation(): void

Generated using TypeDoc