commit
3d56f47ec7
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Dispatching custom events
|
# 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.
|
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.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue