var shadow = button.attachShadow({ mode: 'closed' }); // Shadow DOM中的样式和按钮shadow.innerHTML = `<style> button { padding: 9px 1em; border: ...
確定! 回上一頁