Merge pull request #2290 from vsemozhetbyt/patch-7
Fix typo in 2.2.5 (Dispatching custom events)
This commit is contained in:
commit
a2494a70dc
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ Then we can either put the `dispatchEvent` (or another event-triggering call) at
|
|||
</script>
|
||||
```
|
||||
|
||||
Now `dispatchEvent` runs asynchronously after the current code execution is finished, including `mouse.onclick`, so event handlers are totally separate.
|
||||
Now `dispatchEvent` runs asynchronously after the current code execution is finished, including `menu.onclick`, so event handlers are totally separate.
|
||||
|
||||
The output order becomes: 1 -> 2 -> nested.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue