Skip to content

Sync with upstream @ f4891457 #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 283 commits into from
Closed
Changes from 2 commits
Commits
Show all changes
283 commits
Select commit Hold shift + click to select a range
7480a24
Fix minor typo error: add ol number
leviding Jul 18, 2020
356d527
Fix minor typo error: change when when to when
leviding Jul 18, 2020
0d497c7
Update article.md
leviding Jul 18, 2020
d0474ae
Update article.md
leviding Jul 18, 2020
6800c2a
Update index.html
leviding Jul 18, 2020
3558415
Merge pull request #1977 from peachesontour/patch-1
iliakan Jul 18, 2020
841d750
Merge pull request #2014 from leviding/patch-20
iliakan Jul 18, 2020
55f825c
Merge pull request #2013 from leviding/patch-19
iliakan Jul 18, 2020
b947777
Merge pull request #2012 from leviding/patch-18
iliakan Jul 18, 2020
df9effe
Merge pull request #2011 from Pankajtanwarbanna/patch-1
iliakan Jul 18, 2020
ffbf1a8
Merge pull request #2010 from leviding/patch-17
iliakan Jul 18, 2020
1f6b1c7
Merge pull request #2003 from m47h4r/minor-fix-nullish-coalescing-ope…
iliakan Jul 18, 2020
859fc13
Merge pull request #2001 from haond10adp/master
iliakan Jul 18, 2020
b4dfc5d
Merge pull request #2000 from DaliborP/patch-1
iliakan Jul 18, 2020
6e0944a
Merge pull request #1999 from zhang1pr/master
iliakan Jul 18, 2020
4716d10
Merge pull request #1997 from leviding/patch-15
iliakan Jul 18, 2020
c1767e7
Merge pull request #1996 from smakhl/patch-1
iliakan Jul 18, 2020
a896d3c
Merge pull request #1995 from leviding/patch-14
iliakan Jul 18, 2020
83c01f4
Merge pull request #1993 from shubham-maurya/patch-1
iliakan Jul 18, 2020
5641b17
Merge pull request #1989 from siddharth-golchha/patch-1
iliakan Jul 18, 2020
80f7653
Merge pull request #1987 from pushpend3r/patch-1
iliakan Jul 18, 2020
67e54bf
Merge pull request #1984 from SakiPgr/patch-1
iliakan Jul 18, 2020
e251f05
Merge pull request #1983 from lumosmind/patch-40
iliakan Jul 18, 2020
918947e
Merge pull request #1980 from liuernan/patch-1
iliakan Jul 18, 2020
86222ff
Merge pull request #1978 from peachesontour/patch-2
iliakan Jul 18, 2020
83793dc
Merge pull request #1976 from DanGhanbari/patch-1
iliakan Jul 18, 2020
5e74d7c
Merge pull request #1975 from traxium/patch-1
iliakan Jul 18, 2020
04c0570
Merge pull request #1974 from akymtl/patch-3
iliakan Jul 18, 2020
6acac10
Merge pull request #1973 from akymtl/patch-1
iliakan Jul 18, 2020
668207b
Merge pull request #1972 from dvdvdmt/patch-1
iliakan Jul 18, 2020
ae11710
Merge pull request #1970 from rromanenko/patch-1
iliakan Jul 18, 2020
c2f8c4f
Update article.md
leviding Jul 18, 2020
4fdf4c3
to make binding more clear
lumosmind Jul 21, 2020
b70f949
grammatical fix
lumosmind Jul 21, 2020
f38eb4e
Merge pull request #2021 from lumosmind/patch-44
iliakan Jul 21, 2020
85b1e7a
Update article.md
haond10adp Jul 23, 2020
8f3831b
One line of code creates a lot of confusing
lumosmind Jul 23, 2020
41766c9
grammar fix
lumosmind Jul 23, 2020
8e1f438
Merge pull request #1990 from lumosmind/patch-43
iliakan Jul 23, 2020
f19c56b
BigInt header grammar fix
Jul 24, 2020
7d0d654
clarifying example code
lumosmind Jul 25, 2020
dc0d915
Typo
peachesontour Jul 25, 2020
b0464bb
Merge pull request #2028 from peachesontour/patch-1
iliakan Jul 25, 2020
1f5a40f
Update article.md
peachesontour Jul 25, 2020
ed78e26
Update article.md
peachesontour Jul 27, 2020
05e1878
refactoring
lumosmind Jul 29, 2020
cdf382d
Merge pull request #2031 from lumosmind/patch-49
iliakan Jul 29, 2020
0f391b2
Update article.md
iliakan Aug 3, 2020
0f7443b
minor fixes
iliakan Aug 4, 2020
4133532
minor fixes
iliakan Aug 4, 2020
0e592a9
minor fixes
iliakan Aug 4, 2020
d2f7d14
minor fixes
iliakan Aug 4, 2020
fb4dda6
minor fixes
iliakan Aug 4, 2020
f0ad0ba
minor fixes
iliakan Aug 4, 2020
7907cd6
minor fixes
iliakan Aug 4, 2020
beaf89f
Typos
peachesontour Aug 8, 2020
7b0d477
repeated word
joaquinelio Aug 8, 2020
d4fb59b
Merge pull request #2046 from joaquinelio/patch-1
iliakan Aug 8, 2020
bb8fc43
Typos
peachesontour Aug 8, 2020
1599dec
Merge pull request #2047 from peachesontour/patch-5
iliakan Aug 8, 2020
4ff6eb4
Various minor syntax and punctuation changes
paroche Aug 9, 2020
2aab98a
Merge pull request #2050 from javascript-tutorial/paroche-patch-19
paroche Aug 9, 2020
8d13b7f
One more little phrasing change
paroche Aug 9, 2020
0557a16
Update article.md
redradist Aug 9, 2020
1cfd422
minor fixes
iliakan Aug 9, 2020
2bf8a27
minor fixes
iliakan Aug 9, 2020
fbf443e
minor fixes
iliakan Aug 9, 2020
fe12de8
Typos
peachesontour Aug 9, 2020
8a70b74
The solution here had no break, an infinite loop.
peachesontour Aug 9, 2020
3a924fc
minor fixes
iliakan Aug 10, 2020
a6c9f30
5.4 - change 7 basic types to eight basic types
arcticmatt Aug 11, 2020
a149bc0
Fixed "compatibility" spelling error
yasath Aug 13, 2020
bc92283
Update article.md
Aug 13, 2020
6615df4
Update article.md
Aug 13, 2020
665b8eb
Merge pull request #2063 from maksumi/patch-3
iliakan Aug 14, 2020
43ff24e
[Typo Correction] - "fetch" solution typo error
C17AN Aug 14, 2020
9add5e7
Merge pull request #2065 from C17AN/patch-1
iliakan Aug 14, 2020
8eab7d6
minor fixes
iliakan Aug 14, 2020
b0624a1
minor fixes
iliakan Aug 14, 2020
665b972
delete unused line
Violet-Bora-Lee Aug 16, 2020
4550b60
Update article.md
peachesontour Aug 16, 2020
fe571b3
Merge pull request #2066 from Violet-Bora-Lee/master
iliakan Aug 16, 2020
bbaa75b
Improve phrasing
bookchiq Aug 18, 2020
2c01903
Remove Edge and Firefox warning
josephrocca Aug 21, 2020
53f055c
Merge pull request #2072 from josephrocca/patch-1
iliakan Aug 21, 2020
858b733
Update task.md
iliakan Aug 22, 2020
b85413d
Update task.md
iliakan Aug 22, 2020
a99254f
once in -> once every
joaquinelio Aug 22, 2020
9380866
Update article.md
joaquinelio Aug 23, 2020
977cc0f
Update article.md
joaquinelio Aug 23, 2020
44bc57e
Date object explained clearly
AasthaSinha2305 Aug 23, 2020
243a1d3
Update solution.md
AasthaSinha2305 Aug 23, 2020
37287af
Update solution.md
AasthaSinha2305 Aug 23, 2020
3b71f76
add semicolon
sanghyoLe Aug 23, 2020
b0c5dad
Merge pull request #2076 from AasthaSinha2305/master
iliakan Aug 24, 2020
b946ee0
Removed the parts about browser compatibility
moisheschwartz Aug 24, 2020
21b83a5
Typos
peachesontour Aug 25, 2020
1190721
Update article.md
iliakan Aug 26, 2020
c1b38c8
Update article.md
iliakan Aug 26, 2020
2a6d552
updated size unit from "kb" to "KB" - [#2085]
C17AN Aug 27, 2020
721cbed
Merge pull request #2086 from C17AN/patch-2
iliakan Aug 27, 2020
689b1c4
Merge pull request #2026 from ghost/patch-1
iliakan Aug 27, 2020
d462c7e
Merge pull request #2082 from peachesontour/patch-9
iliakan Aug 27, 2020
c28563b
Merge pull request #2078 from moisheschwartz/patch-1
iliakan Aug 27, 2020
f983992
Merge pull request #2077 from sanghyo95/patch-1
iliakan Aug 27, 2020
9007790
Merge pull request #2073 from joaquinelio/patch-1
iliakan Aug 27, 2020
71988e1
Merge pull request #2069 from bookchiq/patch-1
iliakan Aug 27, 2020
ff470ec
Merge pull request #2067 from peachesontour/patch-8
iliakan Aug 27, 2020
9646a67
Merge pull request #2062 from yasath/patch-1
iliakan Aug 27, 2020
ba6ae24
Merge pull request #2058 from arcticmatt/array-patch
iliakan Aug 27, 2020
1bd9b9e
Merge pull request #2054 from peachesontour/patch-7
iliakan Aug 27, 2020
d1ac0c4
Merge pull request #2053 from peachesontour/patch-6
iliakan Aug 27, 2020
32cf594
Merge pull request #2027 from lumosmind/patch-48
iliakan Aug 27, 2020
f885527
Merge pull request #2029 from peachesontour/patch-1
iliakan Aug 27, 2020
b07a1fe
Merge pull request #2030 from peachesontour/patch-3
iliakan Aug 27, 2020
e25ccf8
Merge pull request #2044 from peachesontour/patch-4
iliakan Aug 27, 2020
f830bc5
Merge pull request #2051 from redradist/patch-1
iliakan Aug 27, 2020
b105548
misplaced "too"?
joaquinelio Aug 30, 2020
5c4adfa
The last 2 code snippets shouldn't be runnable
peachesontour Aug 30, 2020
3aaf519
suggestion to use alert method not console.log
Violet-Bora-Lee Aug 30, 2020
4bd8ce5
fix typo and minor grammatical error
Violet-Bora-Lee Aug 30, 2020
51e5aa9
Typos
peachesontour Aug 30, 2020
b9c4dbc
Typos
peachesontour Aug 30, 2020
bcf49d1
internal link format info:
joaquinelio Aug 31, 2020
0bfebb4
Merge pull request #2097 from joaquinelio/patch-2
iliakan Aug 31, 2020
4830a26
Update 2-ui/99-ui-misc/01-mutation-observer/article.md
peachesontour Sep 1, 2020
d929841
Update 2-ui/99-ui-misc/01-mutation-observer/article.md
peachesontour Sep 1, 2020
2881c97
Update 2-ui/99-ui-misc/01-mutation-observer/article.md
peachesontour Sep 1, 2020
0017800
Update 2-ui/99-ui-misc/01-mutation-observer/article.md
peachesontour Sep 1, 2020
751f78a
Update 2-ui/99-ui-misc/01-mutation-observer/article.md
peachesontour Sep 1, 2020
2b5502a
Update 2-ui/99-ui-misc/01-mutation-observer/article.md
peachesontour Sep 1, 2020
8d71d86
Update 2-ui/99-ui-misc/01-mutation-observer/article.md
peachesontour Sep 1, 2020
be28fe2
Update 2-ui/99-ui-misc/01-mutation-observer/article.md
peachesontour Sep 1, 2020
0003221
Update article.md
peachesontour Sep 1, 2020
cb9542b
Update 2-ui/99-ui-misc/03-event-loop/article.md
peachesontour Sep 1, 2020
6895d38
Update 2-ui/99-ui-misc/03-event-loop/article.md
peachesontour Sep 1, 2020
cd3fb86
Update 2-ui/99-ui-misc/01-mutation-observer/article.md
peachesontour Sep 1, 2020
2f4747b
minor fixes
iliakan Sep 3, 2020
c658bb3
add missing closing bracket
yoga1234 Sep 3, 2020
0f5b63d
Restructure the Solution for 'Army of Functions' task and Fix Typos
MuhammedZakir Sep 1, 2020
c1cd076
Update article.md
hsnilsson Sep 4, 2020
2bf5add
Typo
pushpend3r Sep 4, 2020
c0d638a
minor fixes
iliakan Sep 5, 2020
2f1f6a1
Merge pull request #2100 from yoga1234/patch-1
iliakan Sep 5, 2020
7fd4f7d
Merge pull request #2101 from henchies/patch-2
iliakan Sep 5, 2020
d1e4981
Merge pull request #2102 from pushpend3r/patch-2
iliakan Sep 5, 2020
6701d9b
Merge pull request #2096 from peachesontour/patch-12
iliakan Sep 5, 2020
30386fc
Merge pull request #2095 from peachesontour/patch-11
iliakan Sep 5, 2020
952c13a
minor fixes
iliakan Sep 5, 2020
d36db20
Merge pull request #2094 from Violet-Bora-Lee/mouse-event-typo
iliakan Sep 5, 2020
92e9028
Merge pull request #2093 from Violet-Bora-Lee/class-inheritance-sugge…
iliakan Sep 5, 2020
0b7f426
Merge pull request #2092 from peachesontour/patch-10
iliakan Sep 5, 2020
fe6e352
Merge pull request #2091 from joaquinelio/patch-1
iliakan Sep 5, 2020
94279ab
Merge pull request #1738 from javascript-tutorial/paroche-patch-18
iliakan Sep 5, 2020
c1a3778
Merge pull request #1907 from leeyc0/patch-1
iliakan Sep 5, 2020
88ad89f
Merge pull request #2015 from leviding/patch-21
iliakan Sep 5, 2020
ba5424a
minor fixes
iliakan Sep 5, 2020
edc6126
Merge pull request #2024 from lumosmind/patch-47
iliakan Sep 5, 2020
ffa154d
Merge pull request #2023 from haond10adp/master
iliakan Sep 5, 2020
2aa7e55
minor fixes
iliakan Sep 5, 2020
a9c170a
minor fixes
iliakan Sep 5, 2020
58f6599
minor fixes
iliakan Sep 5, 2020
2e192e0
Sync safe Number borders across chapter 1.2.5
vsemozhetbyt Sep 6, 2020
5a41a67
Update article.md
LitStronger Sep 7, 2020
dc5de48
Fix typo in 1.2.6
vsemozhetbyt Sep 8, 2020
8d69206
Update article.md
Jarvis-3000 Sep 9, 2020
e845b5f
Update article.md
cristian-wang Sep 9, 2020
ce37f7c
Corrected spelling of "representation"
apcurran Sep 9, 2020
9f099db
Update solution.md
MuhammedZakir Sep 10, 2020
b64a230
refactor PEvents
iliakan Sep 10, 2020
0168147
Merge pull request #2081 from MuhammedZakir/master
iliakan Sep 10, 2020
c65a1e8
WIP
iliakan Sep 10, 2020
9f686c9
improve makeArmy task
iliakan Sep 10, 2020
14b50ca
Some Corrections
MuhammedZakir Sep 11, 2020
164ae2c
Improve 'long polling' article. Complements javascript-tutorial#2073.
MuhammedZakir Sep 11, 2020
d16cec5
Merge pull request #2112 from MuhammedZakir/some-corrections
iliakan Sep 11, 2020
99caa80
Fix javascript-tutorial#2098 - replace let with var in IIFE example
MuhammedZakir Sep 11, 2020
c040a90
Added requested change
MuhammedZakir Sep 11, 2020
17faacf
minor
iliakan Sep 12, 2020
593a920
Merge pull request #2114 from MuhammedZakir/old-var-article
iliakan Sep 12, 2020
a641a1a
Merge pull request #2113 from MuhammedZakir/5-10-long-polling
iliakan Sep 12, 2020
706e7ac
minor fixes
iliakan Sep 12, 2020
f56f815
Merge pull request #2111 from apcurran/patch-1
iliakan Sep 12, 2020
e93e87d
Merge pull request #2110 from cristian-wang/patch-1
iliakan Sep 12, 2020
4de92d6
minor fixes
iliakan Sep 12, 2020
f95cdc6
Merge pull request #2106 from vsemozhetbyt/ch-1-2-5
iliakan Sep 12, 2020
a02f06c
Merge pull request #2107 from LitStronger/patch-1
iliakan Sep 12, 2020
7045666
Merge pull request #2108 from vsemozhetbyt/ch-1-2-6
iliakan Sep 12, 2020
e4a60f4
Merge pull request #2109 from Jarvis-3000/patch-1
iliakan Sep 12, 2020
bd8e8a9
minor fixes
iliakan Sep 12, 2020
62e8e70
Dynamic script async=false condition correction
amit-kumar-cse Sep 13, 2020
c1e7bcb
minor fixes
iliakan Sep 13, 2020
2add921
minor fixes
iliakan Sep 13, 2020
ff152b1
minor fixes
iliakan Sep 13, 2020
79ba52a
Fix link in 1.2.8
vsemozhetbyt Sep 13, 2020
dd24d33
Merge pull request #2117 from vsemozhetbyt/patch-1
iliakan Sep 14, 2020
e074a5f
minor fixes
iliakan Sep 15, 2020
8e7e13d
Fix old link and excess line break in 1.2.8
vsemozhetbyt Sep 16, 2020
7ab911c
Update article.md
zzy0302 Sep 17, 2020
26e6412
Update article.md
zzy0302 Sep 17, 2020
244e7ab
Delete "Trident"
Isildur46 Sep 17, 2020
2f37f1c
Update article.md
zzy0302 Sep 17, 2020
9964e3f
Update article.md
zzy0302 Sep 17, 2020
1e0b2bf
Update article.md
leviding Sep 17, 2020
1480263
Update article.md
zzy0302 Sep 17, 2020
a4b95f0
Add Edge to list of V8-powered browsers
shanesc Sep 17, 2020
c040a01
Typos
peachesontour Sep 17, 2020
fdf8eb3
Improve make-army task
MuhammedZakir Sep 18, 2020
7b88ad9
Update 6-data-storage/03-indexeddb/article.md
peachesontour Sep 18, 2020
d235632
Update 6-data-storage/03-indexeddb/article.md
peachesontour Sep 18, 2020
d56c49e
Update 6-data-storage/03-indexeddb/article.md
peachesontour Sep 18, 2020
172ef78
Update 6-data-storage/03-indexeddb/article.md
peachesontour Sep 18, 2020
3a64e50
Update 1-js/02-first-steps/05-types/article.md
zzy0302 Sep 21, 2020
82b6a3b
mdn links
joaquinelio Sep 21, 2020
85cbc1c
Merge pull request #2139 from joaquinelio/linky
iliakan Sep 21, 2020
e7f6a88
Merge pull request #2126 from peachesontour/patch-13
iliakan Sep 22, 2020
8a330b3
One more step please
joaquinelio Sep 22, 2020
75680ee
Merge pull request #2142 from joaquinelio/patch-1
iliakan Sep 22, 2020
64f3015
Address some possible issues in 1.2.11
vsemozhetbyt Sep 20, 2020
5c388dd
content
iliakan Sep 23, 2020
2aad40b
Merge pull request #2134 from vsemozhetbyt/1.2.11
iliakan Sep 23, 2020
894e1b5
minor fixes
iliakan Sep 23, 2020
c48c52c
Merge pull request #2127 from MuhammedZakir/master
iliakan Sep 23, 2020
e61bfa2
minor fixes
iliakan Sep 23, 2020
5878a19
Merge pull request #2123 from leviding/patch-22
iliakan Sep 23, 2020
b3a826e
Merge pull request #2122 from Isildur46/fix-Trident-is-not-a-JS-engine
iliakan Sep 23, 2020
6ea208b
Merge pull request #2116 from amit1702/master
iliakan Sep 23, 2020
01e87b5
Merge pull request #2118 from vsemozhetbyt/ch-1-2-8
iliakan Sep 23, 2020
d3ad4c3
Fix grammar and construction in 2.1.10
galacemiguel Dec 11, 2019
482ca75
Merge branch 'master' into patch-1
galacemiguel Sep 23, 2020
8cb4268
Merge pull request #1672 from galacemiguel/patch-1
iliakan Sep 23, 2020
26505f3
Merge pull request #2121 from zzy0302/master
iliakan Sep 23, 2020
071efd8
Address some possible inconsistencies in 1.2.9
vsemozhetbyt Sep 18, 2020
165ea83
Merge pull request #2125 from shanesc/patch-1
iliakan Sep 24, 2020
e968646
minor fixes, close #2137
iliakan Sep 24, 2020
6d9b443
Changed "position" to "index" for slice() method
Ruslan-Aleev Sep 24, 2020
9705a09
minor fixes
iliakan Sep 24, 2020
1f8b72b
Merge pull request #2146 from Ruslan-Aleev/patch-1
iliakan Sep 24, 2020
58ed032
Merge pull request #2129 from vsemozhetbyt/ch-1-2-9
iliakan Sep 24, 2020
b18b5ba
minor fixes
iliakan Sep 24, 2020
e76cf3a
closes #2136 #2150
iliakan Sep 24, 2020
e4c928b
minor fixes
iliakan Sep 24, 2020
2d63151
minor fixes
iliakan Sep 24, 2020
d92cb47
minor fixes
iliakan Sep 24, 2020
2f6e4a2
minor fixes
iliakan Sep 24, 2020
ea673f4
minor fixes
iliakan Sep 24, 2020
a6017db
minor fixes
iliakan Sep 24, 2020
740a2df
Fix typo in 1.2.12
vsemozhetbyt Sep 27, 2020
f489145
Merge pull request #2154 from vsemozhetbyt/patch-1
iliakan Sep 27, 2020
e8bbeb7
merging all conflicts
iliakan Sep 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions 2-ui/2-events/05-dispatch-events/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ Any handler can listen for that event with `rabbit.addEventListener('hide',...)`
<button onclick="hide()">Hide()</button>

<script>
// hide() will be called automatically in 2 seconds
function hide() {
let event = new CustomEvent("hide", {
cancelable: true // without that flag preventDefault doesn't work
Expand All @@ -211,13 +210,13 @@ Please note: the event must have the flag `cancelable: true`, otherwise the call

## Events-in-events are synchronous

Usually events are processed in a queue. That is: if the browser is processing `onclick` and a new event occurs, e.g. mouse moved, then it's handing is queued up, corresponding `mousemove` handlers will be called after `onclick` processing is finished.
Usually events are processed in a queue. That is: if the browser is processing `onclick` and a new event occurs, e.g. mouse moved, then it's handling is queued up, corresponding `mousemove` handlers will be called after `onclick` processing is finished.

The notable exception is when one event is initiated from within another one, e.g. using `dispatchEvent`. Such events are processed immediately: the new event handlers are called, and then the current event handling is resumed.

For instance, in the code below the `menu-open` event is triggered during the `onclick`.

It's processed immediately, without waiting for `onlick` handler to end:
It's processed immediately, without waiting for `onclick` handler to end:


```html run autorun
Expand All @@ -243,7 +242,7 @@ The output order is: 1 -> nested -> 2.

Please note that the nested event `menu-open` is caught on the `document`. The propagation and handling of the nested event is finished before the processing gets back to the outer code (`onclick`).

That's not only about `dispatchEvent`, there are other cases. If an event handler calls methods that trigger to other events -- they are too processed synchronously, in a nested fashion.
That's not only about `dispatchEvent`, there are other cases. If an event handler calls methods that trigger other events -- they too are processed synchronously, in a nested fashion.

Let's say we don't like it. We'd want `onclick` to be fully processed first, independently from `menu-open` or any other nested events.

Expand Down Expand Up @@ -283,9 +282,9 @@ Other constructors of native events like `MouseEvent`, `KeyboardEvent` and so on

For custom events we should use `CustomEvent` constructor. It has an additional option named `detail`, we should assign the event-specific data to it. Then all handlers can access it as `event.detail`.

Despite the technical possibility to generate browser events like `click` or `keydown`, we should use with the great care.
Despite the technical possibility of generating browser events like `click` or `keydown`, we should use them with great care.

We shouldn't generate browser events as it's a hacky way to run handlers. That's a bad architecture most of the time.
We shouldn't generate browser events as it's a hacky way to run handlers. That's bad architecture most of the time.

Native events might be generated:

Expand Down