type

The type JS Event returns the type of event.

Syntax

event.type

Examples

1 · dispatch

2 · button

bubbles

cancelable

composed

composedPath

currentTarget

defaultPrevented

Event

eventPhase

isTrusted

preventDefault

stopImmediatePropagation

stopPropagation

target

timeStamp

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu