Merge pull request #92 from leighlawhon/patch-1

typo "from"
This commit is contained in:
Ilya Kantor 2017-07-13 23:43:02 +03:00 committed by GitHub
commit 3d56f47ec7

View file

@ -1,6 +1,6 @@
# Dispatching custom events
We can not only assign handlers, but also generate events form JavaScript.
We can not only assign handlers, but also generate events from JavaScript.
Custom events can be used to create "graphical components". For instance, a root element of the menu may trigger events telling what happens with the menu: `open` (menu open), `select` (an item is selected) and so on.