isTrusted

isTrusted returns true if event was dispatched by the user agent, and false otherwise.

Syntax

event.isTrusted

Examples

1

2

Internal

bubbles

cancelable

composed

composedPath

currentTarget

defaultPrevented

Event

eventPhase

preventDefault

stopImmediatePropagation

stopPropagation

target

timeStamp

type

External

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu