attachShadow ` is undefined in custom element constructor. I believe this code should work: customElements.define('x-foo', class extends ...
確定! 回上一頁