Shadow DOM 和事件(events). Shadow tree 背后的思想是封装组件的内部实现细节。 假设,在 <user-card> 组件的shadow DOM 内触发一个点击事件。
確定! 回上一頁