Interface FocusEvent<Target, RelatedTarget>

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

  • Target = Element

  • RelatedTarget = Element

Hierarchy

Properties

bubbles: boolean
cancelable: boolean
currentTarget: EventTarget & Target
defaultPrevented: boolean
eventPhase: number
isTrusted: boolean
nativeEvent: FocusEvent
relatedTarget: null | EventTarget & RelatedTarget
target: EventTarget & Target
timeStamp: number
type: string

Methods

  • Returns void

  • Returns void

Generated using TypeDoc