Merge pull request #1151 from 1van0v/patch-6

fix typo
This commit is contained in:
Ilya Kantor 2019-07-16 08:37:35 +03:00 committed by GitHub
commit 11e9d98cc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ If you click on the button, the messages are:
1. Inner target: `BUTTON` -- internal event handler gets the correct target, the element inside shadow DOM.
2. Outer target: `USER-CARD` -- document event handler gets shadow host as the target.
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>`.
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>`.
**Retargeting does not occur if the event occurs on a slotted element, that physically lives in the light DOM.**