You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 2-ui/2-events/05-dispatch-events/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ let event = new Event(type[, options]);
72
72
</script>
73
73
```
74
74
75
-
Обратите внимание::
75
+
Обратите внимание:
76
76
77
77
1. Мы должны использовать `addEventListener` для наших собственных событий, т.к. `on<event>`-свойства существуют только для встроенных событий, то есть `document.onhello` не сработает.
78
78
2. Мы обязаны передать флаг `bubbles:true`, иначе наше событие не будет всплывать.
0 commit comments