Spelling Continued
Checked some spelling further along in the article files. Made some small grammatical fixes, but mostly spelling.
This commit is contained in:
parent
42d9f16fe3
commit
c97f53563c
19 changed files with 31 additions and 31 deletions
|
@ -78,7 +78,7 @@ If we omit `return false`, then after our code executes the browser will do its
|
|||
By the way, using event delegation here makes our menu flexible. We can add nested lists and style them using CSS to "slide down".
|
||||
|
||||
|
||||
## Prevent futher events
|
||||
## Prevent further events
|
||||
|
||||
Certain events flow one into another. If we prevent the first event, there will be no second.
|
||||
|
||||
|
|
|
@ -279,7 +279,7 @@ For custom events we should use `CustomEvent` constructor. It has an additional
|
|||
|
||||
Despite the technical possibility to generate browser events like `click` or `keydown`, we should use with the great care.
|
||||
|
||||
We shouldn't generate browser events as 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 a bad architecture most of the time.
|
||||
|
||||
Native events might be generated:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue