target

target returns the object to which event is dispatched (its target).

Syntax

event.target

Examples

1

2

3

Internal

bubbles

cancelable

composed

composedPath

currentTarget

defaultPrevented

Event

eventPhase

isTrusted

preventDefault

stopImmediatePropagation

stopPropagation

timeStamp

type

External

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu