To attach our template to our component via the Shadow DOM API we add the following in our constructor. this.attachShadow({ mode: 'open' });
確定! 回上一頁