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
- SVGZoomEventSVGZoomEvent
- BeforeUnloadEventBeforeUnloadEvent
- CompositionEventCompositionEvent
- CustomEventCustomEvent
- DragEventDragEvent
- EventEvent
- FocusEventFocusEvent
- KeyboardEventKeyboardEvent
- MessageEventMessageEvent
- MouseEventMouseEvent
- WheelEventWheelEvent
- MutationEventMutationEvent
- StorageEventStorageEvent
- TextEventTextEvent
- UIEventUIEvent
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]