This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

isTrusted

Summary

Gets a value that indicates whether a trusted event source created an event.

Property of dom/Eventdom/Event

Syntax

Note: This property is read-only.

var isTrusted = event.isTrusted;

Return Value

Returns an object of type BooleanBoolean

Whether the event was created by a trusted source.

Usage

 Use this property to determine whether a script created the event, rather than a trusted source (such as a user agent).

See also

Related pages

Attributions