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: 8-web-components/7-shadow-dom-events/article.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ If you click on the button, the messages are:
35
35
1. Inner target: `BUTTON` -- internal event handler gets the correct target, the element inside shadow DOM.
36
36
2. Outer target: `USER-CARD` -- document event handler gets shadow host as the target.
37
37
38
-
Event retargeting is a great thing to have, because the outer document doesn't have no know about component internals. From its point of view, the event happened on `<user-card>`.
38
+
Event retargeting is a great thing to have, because the outer document doesn't have to know about component internals. From its point of view, the event happened on `<user-card>`.
39
39
40
40
**Retargeting does not occur if the event occurs on a slotted element, that physically lives in the light DOM.**
0 commit comments