From 2efef249cabc2580fd7e2cb77b6ada1a27ee618a Mon Sep 17 00:00:00 2001 From: LeviDing Date: Fri, 27 Mar 2020 18:39:33 +0800 Subject: [PATCH] Update article.md --- 2-ui/2-events/05-dispatch-events/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ui/2-events/05-dispatch-events/article.md b/2-ui/2-events/05-dispatch-events/article.md index c2693672..ee3e7487 100644 --- a/2-ui/2-events/05-dispatch-events/article.md +++ b/2-ui/2-events/05-dispatch-events/article.md @@ -263,7 +263,7 @@ If we don't like it, we can either put the `dispatchEvent` (or other event-trigg document.addEventListener('menu-open', () => alert('nested')); -``` +``` Now `dispatchEvent` runs asynchronously after the current code execution is finished, including `mouse.onclick`, so event handlers are totally separate.