isTrusted

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

Syntax

event.isTrusted

Examples

1 · false

2 · true

bubbles

cancelable

composed

composedPath

currentTarget

defaultPrevented

Event

eventPhase

preventDefault

stopImmediatePropagation

stopPropagation

target

timeStamp

type

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu