Skip to content

Commit

Permalink
Added notes for Project 30 to README
Browse files Browse the repository at this point in the history
  • Loading branch information
lisaychuang committed Jul 12, 2018
1 parent c121e59 commit 76ac4c0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -1223,3 +1223,11 @@ Syntax:

The `document.title` property gets or sets the current title of the document.

## Project 30: Whack a Mole

### [Event.isTrusted](https://developer.mozilla.org/en-US/docs/Web/API/Event/isTrusted)

`isTrusted` is a read-only property of the `Event` interface, it is a `boolean` value.
* if `isTrusted = true`, the event was generated by a user action (e.g. mouse click)
* if `isTrusted = false`, the event was created or modified by a script or dispatched via `dispatchEvent`, for example in automated testing.

0 comments on commit 76ac4c0

Please sign in to comment.