Interface UIEvent<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

Hierarchy

Properties

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

Methods

  • Returns void

  • Returns void

Generated using TypeDoc