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/3-shadow-dom/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
@@ -87,7 +87,7 @@ Opsi `mode` mengatur tingkat enkapsulasi. `mode` harus memiliki salah satu dari
87
87
88
88
[Shadow root](https://dom.spec.whatwg.org/#shadowroot), dikembalikan oleh `attachShadow`, seperti sebuah elemen: kita bisa menggunakan metode `innerHTML` atau DOM, seperti `append`, untuk mengisinya.
89
89
90
-
Elemen dengan sebuah shadow root disebut "shadow three host", dan tersedia sebagai properti `host` root bayangan:
90
+
Elemen dengan sebuah shadow root disebut "shadow tree host", dan tersedia sebagai properti `host` root bayangan:
91
91
92
92
```js
93
93
// dengan asumsi {mode: "open"}, jika tidak nilai elem.shadowRoot adalah null
0 commit comments