type

type returns the type of event.

Syntax

event.type

Examples

Internal

bubbles

cancelable

composed

composedPath

currentTarget

defaultPrevented

Event

eventPhase

isTrusted

preventDefault

stopImmediatePropagation

stopPropagation

target

timeStamp

External

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu