Skip to content

Commit a81bb4a

Browse files
authored
Fix typo in 2.2.5 (Dispatching custom events)
1 parent 99e59ba commit a81bb4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-ui/2-events/05-dispatch-events/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ Then we can either put the `dispatchEvent` (or another event-triggering call) at
266266
</script>
267267
```
268268

269-
Now `dispatchEvent` runs asynchronously after the current code execution is finished, including `mouse.onclick`, so event handlers are totally separate.
269+
Now `dispatchEvent` runs asynchronously after the current code execution is finished, including `menu.onclick`, so event handlers are totally separate.
270270

271271
The output order becomes: 1 -> 2 -> nested.
272272

0 commit comments

Comments
 (0)