Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0c5d5d2

Browse files
authoredMar 29, 2020
Merge pull request #1821 from leviding/patch-8
Fix minor type error, delete unnecessary symbol .
2 parents 0895276 + 03aa504 commit 0c5d5d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎2-ui/2-events/02-bubbling-and-capturing/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ elem.addEventListener("click", e => alert(2));
204204
205205
When an event happens -- the most nested element where it happens gets labeled as the "target element" (`event.target`).
206206
207-
- Then the event moves down from the document root to `event.target`, calling handlers assigned with `addEventListener(...., true)` on the way (`true` is a shorthand for `{capture: true}`).
207+
- Then the event moves down from the document root to `event.target`, calling handlers assigned with `addEventListener(..., true)` on the way (`true` is a shorthand for `{capture: true}`).
208208
- Then handlers are called on the target element itself.
209209
- Then the event bubbles up from `event.target` up to the root, calling handlers assigned using `on<event>` and `addEventListener` without the 3rd argument or with the 3rd argument `false/{capture:false}`.
210210

0 commit comments

Comments
 (0)
Please sign in to comment.