Interface SyntheticEvent<T, E>

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

  • T = Element

  • E = Event

Hierarchy

Properties

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

Methods

  • Returns void

Generated using TypeDoc