Skip to content

Commit 9aff772

Browse files
dandgersonlex111
andauthored
Update 8-web-components/7-shadow-dom-events/article.md
Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>
1 parent e955d05 commit 9aff772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

8-web-components/7-shadow-dom-events/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ customElements.define('user-card', class extends HTMLElement {
2626
});
2727
2828
document.onclick =
29-
e => alert("Свойство target события вне компонента: " + e.target.tagName);
29+
e => alert("Внешний целевой элемент: " + e.target.tagName);
3030
</script>
3131
```
3232

0 commit comments

Comments
 (0)