From da3303b88f330154915ec54d66f730dbd55ca434 Mon Sep 17 00:00:00 2001 From: LeviDing Date: Fri, 27 Mar 2020 09:08:04 +0800 Subject: [PATCH] Update article.md --- 2-ui/2-events/04-default-browser-action/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ui/2-events/04-default-browser-action/article.md b/2-ui/2-events/04-default-browser-action/article.md index 8bb2ffc6..ceac160c 100644 --- a/2-ui/2-events/04-default-browser-action/article.md +++ b/2-ui/2-events/04-default-browser-action/article.md @@ -113,7 +113,7 @@ The property `event.defaultPrevented` is `true` if the default action was preven There's an interesting use case for it. -You remember in the chapter we talked about `event.stopPropagation()` and why stopping bubbling is bad? +You remember in the chapter 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.