Merge pull request #680 from simmayor/4-forms-controls-3-events-change

4-forms-controls-3-events-change - Fixed spelling
This commit is contained in:
Ilya Kantor 2018-12-15 19:02:04 +03:00 committed by GitHub
commit 012603848d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ Let's discuss various events that accompany data updates.
The [change](http://www.w3.org/TR/html5/forms.html#event-input-change) event triggers when the element has finished changing.
For text inputs that means that the event occurs when it looses focus.
For text inputs that means that the event occurs when it loses focus.
For instance, while we are typing in the text field below -- there's no event. But when we move the focus somewhere else, for instance, click on a button -- there will be a `change` event:
@ -62,7 +62,7 @@ For instance, the code below prevents all such events and shows what we are tryi
</script>
```
Technically, we can copy/paste everything. For instance, we can copy and file in the OS file manager, and paste it.
Technically, we can copy/paste everything. For instance, we can copy a file in the OS file manager, and paste it.
There's a list of methods [in the specification](https://www.w3.org/TR/clipboard-apis/#dfn-datatransfer) to work with different data types, read/write to the clipboard.