Update article.md
This commit is contained in:
parent
162280b6d2
commit
da3303b88f
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ The property `event.defaultPrevented` is `true` if the default action was preven
|
||||||
|
|
||||||
There's an interesting use case for it.
|
There's an interesting use case for it.
|
||||||
|
|
||||||
You remember in the chapter <info:bubbling-and-capturing> we talked about `event.stopPropagation()` and why stopping bubbling is bad?
|
You remember in the chapter <info:bubbling-and-capturing> we talked about `event.stopPropagation()` and why stopping bubbling is bad?
|
||||||
|
|
||||||
Sometimes we can use `event.defaultPrevented` instead, to signal other event handlers that the event was handled.
|
Sometimes we can use `event.defaultPrevented` instead, to signal other event handlers that the event was handled.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue