Update article.md
This commit is contained in:
parent
14cd9ec89e
commit
2efef249ca
1 changed files with 1 additions and 1 deletions
|
@ -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'));
|
||||
</script>
|
||||
```
|
||||
```
|
||||
|
||||
Now `dispatchEvent` runs asynchronously after the current code execution is finished, including `mouse.onclick`, so event handlers are totally separate.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue