We can interact with the shadow root just like we would any DOM tree. For example we could use: this.shadowRoot.querySelector("p");.
確定! 回上一頁