From 0a71575475672770f2b4634cb64547ec7224aebf Mon Sep 17 00:00:00 2001 From: Vincent <1473345713@qq.com> Date: Mon, 15 Mar 2021 17:59:33 +0800 Subject: [PATCH] fix typo --- 2-ui/2-events/01-introduction-browser-events/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ui/2-events/01-introduction-browser-events/article.md b/2-ui/2-events/01-introduction-browser-events/article.md index b617618097..703d82d2a3 100644 --- a/2-ui/2-events/01-introduction-browser-events/article.md +++ b/2-ui/2-events/01-introduction-browser-events/article.md @@ -401,7 +401,7 @@ document.addEventListener("DOMContentLoaded", function() { ``` -这里,同一个对象处理两个事件。请注意,我们需要使用 `addEventListener` 来显示设置事件,以指明要监听的事件。这里的 `menu` 对象只监听 `mousedown` 和 `mouseup`,而没有任何其他类型的事件。 +这里,同一个对象处理两个事件。请注意,我们需要使用 `addEventListener` 来显式设置事件,以指明要监听的事件。这里的 `menu` 对象只监听 `mousedown` 和 `mouseup`,而没有任何其他类型的事件。 `handleEvent` 方法不必通过自身完成所有的工作。它可以调用其他特定于事件的方法,例如: